rewiring events on the keypad