The first checkbox is either on visible (V) or not visible, off (). The second checkbox has three states - reference (R), template (T), or off (). They should all toggle to the next state on each click.
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675