What did seem to work after a few restarts ..
Lua Code:
function nUI_HookButtonFunctions(button)
hooksecurefunc(button,"Update",
....
end
hooksecurefunc(button,"OnUpdate",
....
end
hooksecurefunc(button,"UpdateHotkeys",
....
end
hooksecurefunc(button,"UpdateUsable",
....
end
end
function nUI:initActionButton(button)
nUI_HookButtonFunctions(button)
... rest of code
end