I needed to create both one button for reload and three buttons for each variable to save the variables.
When saved I can run the reload and it will ise the variables as needed.
It might be possible to create a save function that saves all three variables at one time. will try to solve that one next.
Big thanks to my self