So I started messing around with modifying the Switch Changes Mode app and I was able to get it to work mostly. I was trying to add an option to only run in certain modes. Everything works fine in the IDE, but as soon as I publish it, I get an error when saving the configuration.

The error is “Failed to save page: defaultPage”

The weird thing is if I hit the back button and say I want to revert my changes, everything saves and works. Any Suggestions?