building the historial menu and create the RandomMode