Clears the check-box% item if state is #f, and sets it otherwise.
If check-box is a string, this function searches for a check-box% with a label matching that string, otherwise it uses check-box itself.