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

Please check whether these functions require `this`. If they do, you need to bind to `this` and save the bound version of the function for removal. If they don't, you could use it directly without creating another reference.