added cancel functionality on search input