Update KeyHandler.java

Fix Keyhandler Build Issues