Hide Keyboard

Hide keyboard when the application is closed while the keyboard is
shown.