Updates the tab icon and title when an action stops.
นี่คือเวอร์ชันทั้งหมดของสคริปต์นี้ แสดงเฉพาะเวอร์ชันที่โค้ดมีการเปลี่ยนแปลง
Fix the text updating, remove console logging.
Update the icon