Xc8 interrupt on change. You have PORTA bit 4 set as input with interrupt on change enabled and nothing in the interrupt hand...