Values of radio button groups was not updated