Setting state is now set to calculated after setting the value
Setting state is now set to calculated after setting the value

This ensures that the setting of the value does not overide the state

CURA-2221

senttech/Cura,senttech/Cura,totalretribution/Cura,totalretribution/Cura,hmflash/Cura,Curahelper/Cura,ynotstartups/Wanhao,Curahelper/Cura,hmflash/Cura,fieldOfView/Cura,ynotstartups/Wanhao,fieldOfView/Cura