Ok I have figured out that my wifi button does like a mini-self destruct of my phone and starts bootlooping. The only fix I have come across is by factory resetting it.
Like the above guy said you hold the Up+Down volume buttons + power button and it brings to you a screen. You use the volume control to get to recovery mode then you press power button to start. Once you get to the little droid laying down with the red hazard box / exclamation point you have to hold the power + up volume to scroll through the list to factory reset.
This time after I reset my phone the wifi was enabled when i started my phone and it connected no problem. I'm scared to turn off my wifi because it might die again. For now I'll just leave my wifi on and see what happens from here.