Here is the example to describe the behavior ,When we check a checkbox for the first time and navigate to another section, the checkbox remains unchecked when we return to that previous section.
document.getElementById("personalized-logo-checkbox").checked = true;
document.getElementById("personalized-logo-checkbox").checked = false;
When we first check a checkbox then move to another part, the checkbox is still unchecked when we go back to the first section. Based on that, we must utilise the identified id for this checkbox and use jvascript to display checked true or false depending on the necessary condition.