Selected index is set from data (radiobuttons)