Added some functionality around selecting the list items and highlighting.