The button does nothing. At first.
If you enable the toggle you have to reload the page. If you disable the toggle it makes a refresh automatically.
Pls. see my config in screenshot.
Active
1.0
Code