Touch Bar issues with created Touch Bar

Hi,
I have created a Touch Bar with commands for Adobe Illustrator.
My issue is that sometimes the commands stop working. For example, I have a button with the shortcut "⌘S", but sometimes it reacts as "Shift+⌘S". And, I have to restart Illustrator to working properly.

Do have anyone have any suggestions?
Thanks

Hi guys,
Here I am and still have the same issue. I try to explain it a bit clearer and hope someone can help me out.
I created some Actions in Illustrator, which I can activate with the function keys. And with the BTT, I made a Touch Bar with buttons for each action, but those not always work. Someday they don't even react, and some other day they do some other commands I didn't record.
Is there something I missed out, or is this just a bug?
Thanks.