Added unbind functionality to click event.