How do I bind a radio group to shared user defaults?

I have 3 radio buttons, and I want to select one of the three at a time.

I would like this to be persistent between app restarts, so I clicked on each button cell, and bound it to the shared user defaults controller with a different modal key path for each value.

When I run my app, I see weird behavior. After I restart it, I see all three button cells clicked off.

Is this the right way to do this? Or should you bind something from the above matrix object?


usually you assign different tags to the button cells and bind (only once !) to Selected Tag of the NSMatrix object