added current query to search bar