Added getNetworkStatus