The class selector does not work at the beginning of the game

Ah, I understood, but then how to make it appear as a random class at the beginning of the game?