addKeyboardHandler