Implemented delete button action