added search button event