Change radio button state from code

Use session state to set current state based on button click, and set the corresponding radio as default.