Save show/hide state