Refactored the list view code.

It's all now in the clickablelistview object.