The bool is currently updated when I click on and off the checkbox however when I click the button it will always print the default value I define at the start. How can I up