Record ID of a selected row as a local variable at the device level

Is there a way to record the ID of a selected row as a local variable at the device level. I need to use the ID of a selected row in slices on the device. Example: select customer then pull some views based on the selected customer on the device.

There are no local variables or local tables that the app can update without user intervention. (User settings are local, but actions cannot modify them.)