store search term when search is issued