Only react on proper keystrokes