t a measure to edit';
            
            renderMeasuresList();
        }

        function downloadJSON() {
            const dataStr = JSON.stringify(measuresDB, null, 2);
            const dataUri = 'data:application/json;charset=utf-8,'+ encodeURIComponent(dataStr);
            
            const exportFileDefaultName = 'measures_db.json';
            
            const linkElement = document.createElement('a');
            linkElement.setAttribute('href', dataUri);
            linkElement.setAttri