reimplemented hideKeyboard