Implements RadioGroup Function