Keyboard recognition not working

I have a problem with the keyboard recognition function. When I assign an action, e.g. to the "K" key on the Magic Keyboard, action works on all keyboards except Magic Keyboard and at other times with the same setting works on all (Magic Keyboard, Wired Apple Keyboard and Internal Keyboard). I tested it on the latest version of BTT but also on version 3.184. This makes BTT completely useless and only causes a problem. Does anyone have similar issues?

The problem occurs on both Catalina and Mojave.