Only accept search query changes while in search mode.
Only accept search query changes while in search mode.

SearchView sends another query text change (with text being an empty
string) after collapsing.

Closes #492

slapperwan/gh4a,slapperwan/gh4a,edyesed/gh4a,edyesed/gh4a