Added mSearch to states for toggling