                    if (callback) await callback();
                    });
                };
                setupToggle(toggleDnscrypt, 'dnscrypt-enable', () => {
                    updateDnscryptDependentFields(toggleDnscrypt.checked, toggleIpv6.checked);
                });
                setupToggle(toggleRulesRecheck, 'dnscrypt-rules-fix');
                setupToggle(toggleUpdateOnStart, 'update-on-start');
                setupToggle(toggleCloakingUpdate, 'dnscrypt-cloaking-rules-update');
      