Demonstrate the functionality of checking the network/internet state using broadcast receiver