Setup to handle click event.