You'll need to decide where this information will be stored.
Datastore is a nice option, which will return flows of that data, which you can collectAsState to use in your composables.
NiA is using Datastore afaik to store exactly the user choice for theme options, might wanna take a look at that
https://github.com/android/nowinandroid