Added hide soft keyboard when current view is not an instance of EditText