committing changes to button