Refactoring in LauncherActivity