        hideElement(selectAllElement);
            isSelectedAllTableRecords = false;
        } else if (selectedTableRecordsPositions.length === tableRecordsSize) {
            showElement(selectAllElement);
            selectAllElement.classList.remove('default-btn');
            selectAllElement.classList.add('default-btn-active');
            isSelectedAllTableRecords = true;
        } else {
            showElement(selectAllElement);
            selectAllElement.classList.remove('default-btn-active');
