click Buttons to change type of button object: