changed on click delete to only execute once per list item