selected class change