I couldn’t get the top checkbox to work at all. The bottom checkbox worked correctly for me.
Your radio buttons are not working because you’ve got a different type of form element between them. If you delete that (as well as the second radio button), then copy/paste your first radio button and change it accordingly, it will work correctly.
I would not expect radio buttons to turn off with a second click, though. I would only expect one to turn off when the other was selected.