The complicated bit that was missing was the delete action, which is now its own activity with proper intent handling.