Add 'clearSearch' callback function, so that user can apply their custom  clear search function