Add legacy function for setWifiEnabled & Hack to fix SetupWizard crash

Change-Id: Ief28a5ed9f4a1063b9afd4dc74f6af21d01cab6c