reverted to previous version using RadioGroup, added edit button