fix hideAndClearDialpad