Added toast to be displayed when device is connected / disconnected from the network.