onChanged will execute if you have the config service enabled.
But the
if (global_config) { will only trigger if window.Twitch.ext.configuration.global is not undefined.
As I covered in the other thread where I linked this example, you need to substitute global for the other config segments, depending on which segment you are storing the config you wish to recall in