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

This function is not used anymore, please remove it.