The configure should not restore.

You need to check if the flash is full. If flash is full then after reboot you may not be able to load the configures and looks like you need to start over.

If you just made simple configurations and config loss all the time, maybe need to get an exchange.