RadioPreference is only working correctly on a fresh built page
The "setState" in the "onChange" function is useless, because it changes only the current RadioButton. The "setState" must be called on the parent widget. To test build a preferences page called from a drawer and open the page from the drawer, open it again and the RadioPreference stay all active. Solution: If the "onSelect" should be used for this, make it "required".