added try catch for error handling when no internet connection exists
bug fix: added error handling if no internet or connection exists
new version 0.4.2