The mainactivity now extends fragmentactivity