[MBS] Saving/restoring toolbar

I’m playing around with the example “toolbar buttons”. I can see how it works and how to make the toolbar customizable. But I don’t quite see how to save/restore the customization.

There are the events ToolbarWillAddItem and ToolbarRemoveItem. Would I change the item identifier array on removing an item and save this array to the prefs? How can I see where a new toolbar item was added?

You would save the configurationDictionary to prefs and restore it on next run.
But I see I should make it a property giving data.