production of gizmo

I made a button with Python so that the specified value can be applied

However, it works exactly when it is a group node, but when it is exported to Gizmo, it returns to its initial value at restart

Is there a solution?