Change when core data save callback is called