Rearrange pins so the IR receiver is on an interrupt.
Rewire with fixed pinouts and better connection for IR receiver.