Repository: google/android-fhir
Issue: Answer selected by user changes automatically in Radio Button

**Describe the bug**
Radio Button answer selected by user changes to some other radio button options. For example you have one radio button with different options and you select any of the option as answer, and similarly you have another radio button with multiple options as well. You select second option as an answer to first radio button and select fourth option to second radio button. Now change the answer selected of the first radio button from second option to first option. Now go to second radio button and you'll see that the answer of the second radio button has automatically changed to the option you selected for the first radio button, in our case the answer of the second radio would have been changed from fourth option to first option as we selected first option as an answer to first radio button. 

**Component**
SDC library

**To Reproduce**
Same as description of the bug

**Expected behavior**
Expected behavior was the answer of the second radio button shouldn't changed automatically, with changing of the first radio button answer   

**Screenshots**

**Smartphone (please complete the following information):**
 - Device: Nexus 6P
 - Android version: 10
 - Build number: 200715.0026695061
 - Version 29

**Additional context**

**Would you like to work on the issue?**
This issue can be solved by person who write the code of Radio buttons in sdc library

Changed files:
datacapture/src/main/java/com/google/android/fhir/datacapture/views/QuestionnaireItemRadioGroupViewHolderFactory.kt

diff --git a/datacapture/src/main/java/com/google/android/fhir/datacapture/views/QuestionnaireItemRadioGroupViewHolderFactory.kt b/datacapture/src/main/java/com/google/android/fhir/datacapture/views/QuestionnaireItemRadioGroupViewHolderFactory.kt
index 671e56aac..eaf328b7b 100644
--- a/datacapture/src/main/java/com/google/android/fhir/datacapture/views/QuestionnaireItemRadioGroupViewHolderFactory.kt
+++ b/datacapture/src/main/java/com/google/android/fhir/datacapture/views/QuestionnaireItemRadioGroupViewHolderFactory.kt
@@ -52,6 +52,7 @@ internal object QuestionnaireItemRadioGroupViewHolderFactory :
         val answer = questionnaireResponseItem.answer.singleOrNull()?.valueCoding
         radioHeader.text = questionnaireItem.text
         radioGroup.removeAllViews()
+        radioGroup.setOnCheckedChangeListener(null)
         var index = 0
         questionnaireItem.answerOption.forEach {
           radioGroup.addView(
@@ -67,13 +68,12 @@ internal object QuestionnaireItemRadioGroupViewHolderFactory :
             }
           )
         }
-        radioGroup.setOnCheckedChangeListener { _, checkedId ->
+
+        radioGroup.setOnCheckedChangeListener { group, checkedId ->
           // if-else block to prevent over-writing of "items" nested within "answer"
-          if (questionnaireResponseItem.answer.size > 0 &&
-              questionnaireResponseItem.answer.first().hasValue()
-          ) {
-            QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent().apply {
-              value = questionnaireItem.answerOption[checkedId].value
+          if (questionnaireResponseItem.answer.size > 0) {
+            questionnaireResponseItem.answer.apply {
+              this[0].value = questionnaireItem.answerOption[checkedId].value
             }
           } else {
             questionnaireResponseItem.answer.apply {