Changed wifi to network helper and included mobile data in the check