reset selectedStudents before each use