title: Magical Record appears to save, but changes are lost if app is terminated
body: <p>I'm using Magical Record 2.1 to handle the data persistence in my app. If I create a new entity, set some it's attributes and save, it works fine. However, later, if I fetch that entity, update it's attributes and save, subsequent fetches have the new data until I terminate the app and restart. During the new app session the old data reappears.</p>
  
  <p>This is how I create a new entity:</p>
  
  <pre><code>self.localContext = [NSManagedObjectContext MR_defaultContext];
  self.theNewListing = [Listing MR_createInContext:self.localContext];
  </code></pre>
  
  <p>I'm using MRDefaultContext having read this blog post: <a href="http://saulmora.com/2013/09/15/why-contextforcurrentthread-doesn-t-work-in-magicalrecord/" rel="nofollow">http://saulmora.com/2013/09/15/why-contextforcurrentthread-doesn-t-work-in-magicalrecord/</a></p>
  
  <p>In this case my main attribute is a dictionary, and I set it like this:</p>
  
  <pre><code>NSMutableDictionary *tempDictionary = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"A description", @"slFieldDescription", etc, etc, nil];
  self.theNewListing.dataDictionary = tempDictionary;
  </code></pre>
  
  <p>This is how I save it:</p>
  
  <pre><code>[self.presentingViewController dismissViewControllerAnimated:YES completion:^(void) {
  
      [self.localContext MR_saveToPersistentStoreWithCompletion:^(BOOL success, NSError *error){
          if(!success) {
              NSLog(@"%@", error);
          }
          else {
              [self.thePresentingVC refreshCollectionViews:nil];
          }
      }];
  }];
  </code></pre>
  
  <p>I display my data in a collection view, and at this point everything looks fine. If I terminate and restart the data is still there.</p>
  
  <p>If I fetch the entity again and update the attributes like this:</p>
  
  <pre><code>NSMutableDictionary *newTempDictionary = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"A new description", @"slFieldDescription", etc, etc, nil];
  self.theNewListing.dataDictionary = newTempDictionary;
  </code></pre>
  
  <p>Then save using the same save code as above, and then update my collection view using the code below, all looks good.</p>
  
  <pre><code>self.listingsArray = [[NSMutableArray alloc] initWithArray:[Listing MR_findAllSortedBy:@"dateListed" ascending:NO]];
  [self.mainCollectionView reloadData];
  </code></pre>
  
  <p>That is, until I quit the app and restart.</p>
  
  <p>If you're wondering, I'm using FTASync, and this only supports MR 2.1, which is why I haven't upgraded to the latest version.</p>
  
  <p>Thanks!</p>