private void startGame() { Intent intent; if (game.getMode() == Game.Mode.Standard) { intent = new Intent(this, StandardActivity.class); } else if (game.getMode() == Game.Mode.Survival) { intent = new Intent(this, SurvivalActivity.class); startActivity(intent); } else { intent = new Intent(this, PracticeActivity.class); } intent.putExtra(Game.EXTRA_KEY, game.reset()); startActivity(intent); finish(); }