DDF-656 add else if to deletePersistentActivity