Click on link to select class