I apply the configuration in the router, save, copy run to star, review the config and all work ok, but when restart the router lose the configuration and ask if I want enter the initial configuration.
This is more than likely from a previous password recovery. Your configuration register was probably not set back to the correct setting afterwords. Check out the link below to fix the configuration register.
0x2102 is the setting that you want.