Adding on click listener for custom view

Adding on click listener for custom item. Fixing issue #9