Added ability to enter characters using the keypad