I may have found another solution. This solution requires the use of adb, and all you have to do is use this command.
adb shell svc wifi enable
Anyone having issue where your wifi button just wont respond and turn on try this.
Edit: If it doesn’t work, try uninstalling Google Wi-Fi Provisioner in the play store before using the command.