Changed the activityfactory to take a bundle instead of a bundle_id so that it doesn't depend on the registry.