do an off click before setting click handler