Delete button will delete items from the inventory list after edit is pressed.