#8 Added a check for network connection, and toast message if connection isn't available