Add click event handler