Move save operation while registering modules after onRegister. Do likewise for onUnregister
Move save operation while registering modules after onRegister. Do likewise for onUnregister

lotgd/core,lotgd/core