Created click handler method