Change keyDown to keyUp