commit 2 changes in button value