Delete table functionality. Still not working.
Fixed deleting items from table