Check for active wifi connection and show alert