Added functionality for selecting an item in search result.

References #706.