Sorry but I'm not sure that I understand what you are trying to do.
If you like to store your applications settings using a Map then WriteMap and ReadMap should be used.
Imagine a comune app. Menu button, click on settings.
There I can put and read settings and values previous stored, or predefined values. Change this values and next come back to main app.
But programmatically how to do that?
1) Add a menu item.
2) Clicking on them, from "main" layout open a new layout called "settings"
opening the new layout witch activity.loadlayout("settings")
use readmap to retrieve the values and populate textbox with stored values
3) Confirm/change some values and with an ok button to come back in "main" layout
do a writemap
activity.loadlayout("main")
Is correct this flow or not?