Add Main page and change command when game over