From a programmatic standpoint radio buttons are for single item selections. Checkboxes are for multiple options. If you switch to the proper type of input your problem will be solved as @BarlaeDC suggests.
The easiest way to do this would be to use a Radio Button Group ( only 1 can be selected so the code is done for you) you can change how they are styled so they look like your attachment.