How to Assign a value to checkbox

Also, anyone who wants to actually write out the records from the state to a Thing (say on clicking a Save button) may be interested in this post: