"List of running processes" conditional group

I'm trying to create a touch bar feature that shows the icons of running apps. I've created conditional groups with the condition for each app: "List of running processes contains" : "App name". I've found these don't work for any apps other than terminal, and even with terminal, the icon will still linger after I've quit the app. I saw from an old thread that you are supposed to references the process name by putting the app name in between commas, as I've done below. This doesn't help. If I'm using the running processes condition incorrectly or anyone knows a better way I can go about doing this, I'd appreciate any help or advice, :). Thanks!!