connect add button to add command