Since you don't remove the existing delete button before adding a new one here, completed items end up with an extra delete button that doesn't work.