update_trigger method is not updating SF Symbol Icon

Describe the bug
I'm trying to do a "One Button Switch Menu" (don't know if that is clear)
I want a multiple views Touch Bar (e.g Home, Work, Chill, etc ..) but to have a maximum space available on my Touch Bar I want to build a button with icon changing depending on the current context (e.g a house logo for Home View)

To do so, I "close currently open Touch Bar group" + "Open Touch Bar group: desired view" + "Run Real Javascript" with the following code :

(async ()=> {

var updateDefinition = {
	"BTTTouchBarItemSFSymbolDefaultIcon" : "music.note",
}

callBTT('update_trigger', {uuid: 'A00650F0-1B27-4A40-9BBF-0BF1D6C4E5FC',json: JSON.stringify(updateDefinition)});

returnToBTT('done');

})();

I'm sure the UUID is correct but nothing is changing on my button

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Touch Bar

Screenshots
Default view (click on home icon open View Switcher)

View Switcher (click on music note open Music View + should change button icon to music.note)

Music View (as you can see nothing changed on the View Switcher Button)

Device information:

  • Type of Mac: MacBook Pro (15-inch, 2018)
  • macOS version: macOS Big Sur 11.2.3
  • BetterTouchTool version: 3.561 (1701)
Imprint | Privacy Policy