Fixed a bug with returning to the app with the keyboard up