Changes in states and Buttons