Adding MainActivity and ChartActivity