          reidentifyBtn.disabled = false;
            reidentifyBtn.innerHTML = originalBtnText;
            reidentifyBtn.title = originalBtnTitle;
            reidentifyBtn.style.opacity = '1';
            reidentifyBtn.style.cursor = 'pointer';

            // Remove status message after a delay
            setTimeout(() => {
                if (statusSpan && statusSpan.parentNode) {
                     statusSpan.parentNode.removeChild(statusSpan);
                }
            }, 5000); // 