revert state save