got the nesting wrong
Bug fix: If we return from setting the calendar in preference, and activity is recreated, new plan had been initialized from an empty transaction