Imagine a checkbox named cb1GRA2. To store the value in local Storage is so simple than
localStorage.setItem("cb1GRA2", $("#cb1GRA2").prop("checked"));
If you like to change every time the value changes you can use a JQuery function like
$("#cb1GRA2").change(function () { localStorage.setItem("cb1GRA2", $("#cb1GRA2").prop("checked")); });
To recover the data and restore de initial value to the control using JQuery:
$("#cb1GRA2").val(function () { $("#cb1GRA2").attr("checked", localStorage.getItem("cb1GRA2")); });