committed a button listener