Save the material type so the right value is restored when opening cura
Save the material type so the right value is restored when opening cura

Fixes T289

alephobjects/Cura,alephobjects/Cura,alephobjects/Cura