fix in logic and added buttons to change it manually while the game is
running