fix focusOnSearch

It will now actually focus on the search bar when you hit a key