Wifi toggle fix