Edited Add button functionality
Edited Add button functionality