fun whenSessionsChange(): AutoSave
Saves the state automatically when the sessions change, e.g. sessions get added and removed.