Nevermind. I see below that you call this on the back button even when you're not cancelling the activity.