when device is connected to wifi the component alert when wifi is disconnected but not when there is no internet connection on wifi
when device is connected to wifi the component alert when wifi is disconnected but not when there is no internet connection on wifi