The GUI code and the database code shouldn't be in the same class and should be completely decoupled. Look into 1) getting information from the ButtonGroup, and then a separate issue 2) how to update...