table row delete button changes
minor bug fix and code comments
Added a comment