add auto search on click