Check box doesn't show "tick" when selected = 1 in a script

Try using True and False instead.

If that doesn't work then please post your code for both buttons. See Wiki - how to post code on this forum.