Add button function.