App/File/Folder/Script open dialog deletes old value when Canceled

Describe the bug
I have a keyboard shortcut that uses the Launch Application/Open File/Start Apple Script action. It is currently bound to an Apple Script. I click on the Select App/File/Folder/Script button. The open file dialog is displayed. I click Cancel to dismiss the dialog. The script that was previously bound to the action is replaced with (null). It should remain bound to the previous value.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Keyboard

Screenshots
Before:

After:

Device information:

  • Type of Mac: MacBook Pro (15-inch, 2016)
  • macOS version: 10.14.5 (Mojave)
  • BetterTouchTool version: 3.100

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

Note: Before bug reporting, please make sure you have the latest version of BetterTouchTool and that you have already tried to restart your system :-). If you encounter a crash, please attach a crash log from the macOS Console.app from the "User Diagnostic Reports" section.