run and repeat code until button is pressed with IR remote

Please post code that actually compiles, and post it inside code tags please. It was already explained to you here, please don't ignore it.
https://forum.arduino.cc/index.php?topic=490260.0