Unable to use my right-hand button after pressing the button conected to ghpython script

I’ve made a simple component by ghpython with single input with a button and no output.
However, I can’t use my right-hand button or edit the script after a single click on the button in grasshopper while everything went normal after my second click. I tryed to record the errors during that time by data recorder, but no error showed in “out” parameter.

When I using toggle boolean component instead of button, everything works smoothly.