Nullpointer exception catched: isNetworkAvailable.