Checking network connectivity
Solved bug : App crash when no Internet access.