xtarea = entryDiv.querySelector('textarea');
        const timestampElement = entryDiv.querySelector('h3'); // Assuming h3 contains the timestamp
        const originalBtnText = reidentifyBtn.innerHTML;
        const originalBtnTitle = reidentifyBtn.title;

        reidentifyBtn.disabled = true;
        reidentifyBtn.innerHTML = '...'; // Loading indicator
        reidentifyBtn.title = '正在重新识别...';
        reidentifyBtn.style.opacity = '0.6'; // Dim the button
        reidentifyBtn.styl