Hide virtual keyboard when key pressed