make sure checkboxes are checked and display the correct value

this fixes 2 issues:

*unclicked checkboxes were always displaying 'Y' even when the value was '' or 'N'
*checkboxes would always show as unchecked once clicked and react element was created

I think it would be more consistent to make checkboxes that are un-clicked display 'Yes' or 'No' in the future.