changed the search button with workspace logic