Checking if mobile type exists to avoid null pointer crash

Checking if there is a Mobile radio hardware, else on wifi only android devices, this produces a null pointer error. Please merge and add this logic wherever applicable.