implemented delete item button