Use function to clear search