Buttons to Analog pins control IR Remote

I had made a project that duplicate IR signal and transmit the signal. now i face a problem, before that i need to inform that the components i used, they are a LCD 16x2, Arduino NANO V3, IR receiver& transmitter, 3 buttons for controlling and Micro SD card module.
Digital I/O pins is not enough to use, then i tried move the 3 buttons input from digital to analog pins.

Before i change the 3 buttons input pins, the circuit can run propertly. But after i change it to analog pins:

buttons pressing can detects, LCD pages (LCD show words) can display.

IR receiver can receive signal.

But, IR transmitter cannot work. i try to use handphone camera capture the IR LED, it has flashing but why the device cannot be control??

For my opinion, i think it cause by interupt "cli" and "sei"..
Any one know the reason why? and sry for my broken english.

For my opinion, i think it cause by interupt "cli" and "sei".

Well, you're perfectly entitled to your opinion.
In fact, without us being able to see your code or your schematic, it's the only valid opinion.
Let's hope it doesn't remain that way for much longer.