implemented deleteManagedObject in Store