buttonRadio and buttonCheckbox getSelected() fix

Otherwise, those functions are useless :)