moved core data saving operations to subcontext of global context