Modify MainActivity launchermode