combining events for #addbutton