Method addFragment() changed to the GenericActivity