Bug 973466 - [settings] refactor wifi panel with AMD pattern