added click event to main title