Fix bug detecting if on cellular network

Signed-off-by: Tom Diggle <tom@tomdiggle.com>
Remove import of unused header file

Signed-off-by: Tom Diggle <tom@tomdiggle.com>