The if statement came from the onPostExecute call of the handleDeleteAllSelected method, but shouldn't be in onDestroyActionMode as the actionMode variable doesn't exist, only the mode variable exists. I'm not positive, but mode doesn't appear to need to be separately set to null?

I've removed the if statement and re-submitted the commit. Good catch. Thanks!