If you change the DSS keys here:
You set overwrite to YES, save it and later set it to NO and save it it will mess up the config file. Order of keys is wrong then.
Only fix: chose a different template, save it and then you should switch back to the original template.