When the game mode is changed, it now writes into the "ChosenMode" table