I see that, by default, app preference pages get mode and label inputs. However, I can't seem to get the mode setting to stick or even access either value. I don't see them set in state and the modes don't persist when I set it and update the app settings.