The first line of code get the saved session gotten from the checkbox and uses the subjects to select the question of each subject from the database.