Did you enable setPreserveSession? normally the session is reset unless this is enabled.
In the ALL-PLANS AT Firmware we use these settings for saving the channel plan.
https://github.com/MultiTechSystems/Dot-AT-Firmware
setDefaultFrequencyBand
getDefaultFrequencyBand
saveProtectedConfig