get the selected index of a RadioGroup in Android Tutorials