search, normal state and active state(nothing entered)