HomeModel now uses the activity ID to track activities, and creates the HomeActivity object when the activity is launched, not when its window appears.