Auto save session after changes