Save log of network state chahges in Android