protected void handleVisitsQuery() {
   LightVisits lightVisits = jC.getVisits();
   dateSlider.setData(lightVisits.getExercisesInfo());
   tableWithMarks.createTable(lightVisits, jC.getStudents(selectedGroup));
   studentList.setStudents(jC.getStudents(selectedGroup));
   if (groupSelectorSeparateLine.getVisibility() == View.INVISIBLE) {
     groupSelectorSeparateLine.setVisibility(View.VISIBLE);
   }
 }
 protected void restoreTable(LightVisits lightVisits) {
   if (lightVisits != null && selectedLesson != null) {
     try {
       tableWithMarks.restoreState(lightVisits, jC.getStudents(selectedGroup));
       dateSlider.restoreState(lightVisits.getExercisesInfo());
     } catch (NullPointerException ex) {
       Logger.printError(ex, getClass());
     }
   }
 }