ExpandableTaskAdapter stores an instance of main activity to call methods to the UI, Main Activity exposes its fragments through getHomeFragment and getCalendarFragment