Check if activity.getCurrentFocus is null in hideSoftKeyboard