delete item from details implemented, clean up, edit item details
working for every type