Bug 1065279 - [settings] refactor Hotspot panel with AMD pattern

Take this for example, you could simply use `this._setHotspotSettingsEnabled`.