Yes, you shouldn't need the script. Just bind the props.position.display
to the checkbox's props.selected
value.
Tip: get rid of the LED display and replace it with a label that is legible. They were acceptable in the 1970s when there was nothing better. There's a reason we don't print numbers or do Excel using LED or LCD fonts!