can't show option menu if isSearchState is true