Robustness checks in Network Location Action, to prevent possible crashes. Also switching the action code to ARC.