Make tab label match favorite name

I had only one script that had that event:

That resolved the issue. I imagine I can only run one at a time since both change text in tabs. Is this so? Thanks for your help.