The function `updateEnablingState(true)` should be called whenever the FM Radio is enabled, how about atomized them by define a separate func? Then it will be less error-prone, like this:

    function enableFMRadio(frequency) {
      mozFMRadio.enable(frequency);
      updateEnablingState(true); 
    }