Changed state of buttons.