Create buttons to hide and run code

The evolution of this: