Quick color change shortcuts work when I ADD a card, but DON'T WORK when I need to EDIT a card in the panel

My hotkeys in quick change color work great when I ADD a card.

But they DON’T WORK when I need to EDIT a card inside the panel.

My key combination is:
crtl + 1
crtl + 2
crtl + 3
crtl + 4
crtl + 5
crtl + 6
crtl + 7
crtl + 8

Would you know how I can revolve?

Thanks