-Add offline mode, handle Internet connection error when api key is retrieved failed