add click search result funtion