Revert setWifiEnabled code