Bug 866484 - [WiFi] Use shared code for settings