change the way to start MainActivity