Change button text based on drop down menu

I want to change a button text based on selected drop down option e.g. Add UPC or Add Department etc. Is this okay design choice or is there better alternative?

enter image description here