handle tick mark click