Problem with Network capability on Lenovo Ideapad Z470?

My laptop was working fine a few days ago until it refused to connect to any wireless networks. Nothing shows up when I click the network icon. It just says No Internet access. When I try to diagnose it it suggests turning on the Network capability switch even though it is clearly on. What is the problem and how do I fix it? Thanks in advance
P.S: I've also tried to press Fn+F5 but nothing shows up

I have run into this a lot lately, and found one of two things fixed it.

1. I know there's a button on the keyboard but some also have a switch on the side of the laptop. Sometimes that switch gets bumped, but it is in a place where a lot of us don't even know it is there. Lenovo's usually have this button

2. Plug in with a Ethernet and run Windows updates. Lately this has been the biggest fix for this issue.

Hopefully one of these will fix it for you.