Local Storage stored as string so convert back the value first to number with 'int'.
Tried (in both places):
System Set BestScore to int(LocalStorage.ItemValue)
But it did not help.
Added Get item "Best" for both events. And it works even without int(). It it a good solution?