How to disable elements on refresh.

Yes I wanted to try at disabling the buttons here, but I was unsuccessful. I’m a bit novice, I don’t understand what you did there with .json etc :D.