neither option. You do not store data in a form ever. You store data in an object, e.g. a "settings" object. Both checkboxes link to one field of that object. Do not ask any follow-up here. This is strictly a non-programming forum. Find your language in a forum above.
"If we don't change direction, we'll end up where we're going"