He may need to be retrained. Put him with his food, water, box and some toys, into a room away from the kitchen if possible. He may associate the kitchen with the nasty noisy box. Fuss over him when he uses the box.

Good luck!