updated search button to use same methode as design button.