Added changing modes (menu or game)