Add code to get selected class for one student