Add functionality to search result