Floating menu script not always updating and getting stuck. Restarting BTT fixes.

could you try with a simple script to see whether the script is the problem?

E.g. the one I posted that just returns the time

on itemScript(itemUUID)
   set currentTime to do shell script "date '+%H:%M:%S'"
   return currentTime
end itemScript