(please help)IR controller for robot switch case problem

OMG.....i can,t say thank enough the code looks clean and it is working fine