Have found a way to get the function even after a reload to trigger
Directly behind:
Lua Code:
hooksecurefunc("ActionButton_OnEvent", function(self, event, ...)
if event == "PLAYER_ENTERING_WORLD"
then ActionButton_UpdateHotkeys(self, self.buttonType)
end
end)
and it works.