How to deactivate BTT for an app?

In general, sure:

However the Alfred window by default can not be recognized as a "App", because it is not really active.
There are solutions to this: