implemented return to view with search string when selecting a category