Make the configuration mode mutually exclusive from normal operation, and made it write the controller EEPROM... may just use the configuration UI, save it, and never use the configuration code.