Immediate saving of captures and update of exams view.

Previously, these tasks were performed later, when another
exam was selected, the session closed, etc.
It was confusing for the users.