[ActivityManager] Added checkActivitiesToDelete and an activity bin.