How to restart flow node red with button from dashboard

Hi everyone, I have a problem I would like to restart my flow through the graphical dashboard (UI) of node red, as in the image below.

1

I have seen this topic and it works correctly the only problem is that it does not restart the flow but restarts the whole plugin taking much longer than a restart of the flow.

Topic link: How to restart nodered in nodered flow itself - #5 by Canedje