automatically restarting wifi on button press