Removed the deprecated method finishInactiveActivities