fixed crash when service started after phone booted with wifi and network turned off