   }

    function saveDefaultsSetting() {
        setCookie('isDarkTheme', isDarkTheme, true);
        setCookie('font', currentContentFont, false);
    }

    // region Ui events
    function onMoreClick() {
        showElement(moreItems);
    }

    function onPageResize() {
        if (headerRight.offsetTop > headerRightDefaultY + 8) {
            header.style.height = "130px";
            baseContent.style.top = "131px";
            headerRight.style.marginTop = "8px";
        } else {
            head