public ApplicationDataContainer(string name = STORAGE_NAME) { storageFile = FileSystem.Current.LocalStorage.CreateFileAsync(name, CreationCollisionOption.OpenIfExists).Result; var data = CodePushUtils.GetJObjectFromFileAsync(storageFile).Result; if (data != null) { Values = data.ToObject <DictionaryWithDefault <string, string> >(); } else { Values = new DictionaryWithDefault <string, string>(); } Values.DataChanged += async(s, e) => await SaveAsync(); }