Controlling the level of the material in the mixer