Save the main managed object context if it has changes.

Not if it doesn’t have changes. Oops.