After installing Mojave BTT doesn't work always

Describe the bug
Since I have installed Mojave BTT doesn't work very well anymore. I have to restart BTT regularly and then it will work again for a while. It looks like it doesn't work anymore after it has been in sleep mode.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Nothing works in that case.

Screenshots
No screenshots

Device information:

  • Type of Mac: iMac (27-inch, Late 2013)
  • macOS version: Mojave macOS 10.14
  • BetterTouchTool version: 2.645(954)

Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):
Only restarting helps

Note:
I have already tried many times to restart my system.

It looks like my problem is solved. I tried the solution on https://folivora.ai/blog/post/13005