added offline storage to download location details if internet connection was not available the first time