saveState Principal