Disallow user to edit item when the item is being deleted by swipe gesture.