search button pressed event added