adding click functionality to keypad buttons