some major refactoring to get it to work
removed original search bar and search functions for action bar searching