adds toggle state to transcript button