store app instance in MyAnalytics class