Custom delete and table swipe code