MainActivity to get rid of RecordActivity and AnalyzeActivity