made Activities and FragmentActivities extend from a new base class