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

nit: the function name is missing.