optimized imports in MainActivity, DisplayMessageActivity