Layer states

I would know if its possible to set layer states in the model, because you can work in a cleaner display,

I have tried to set it in the layer manager but the program don't  keep the layer states in memory.