Hide soft keyboard in onPause method.