Case loop problem with IR remote - easy but hard for me

Here is why:
On remote control I want to choose case and run it 20 or 200 times, motors to stop, and then again to choose another case or repeat the same.

I am making ping pong robot... player need to rest or change drill (case).