managed object context save category extension