on_tsx_state_changed - Adding header.