Fixed a bug in network state changed receiver