added individual listeners for add and delete button