make search page refresh after selecting a new query