Give each harmless preference an owner layer before you record its value. A setting controlled by the device, a setting for the whole app, and a setting for one player profile can require different restoration methods. The same visible effect may have more than one source.
Private rehearsal example
The labels and values here are fictional. Use an authorized dummy profile and an owner-approved destination.
App profile Example Profile · Home layout Rows
Whole app Example Player · Interface density Standard
Device layer Demo device · Display zoom Normal
Decision
The home layout belongs in the profile’s worksheet. The other two rows belong to their own layers and should stay outside a profile-only restore. Preserve the labels so a later observer can confirm the owner before applying anything.
Change one variable
Move Interface Density into a hypothetical profile-only menu. Its owner changes in the revised worksheet. Keep the device zoom outside scope and confirm the row against the app’s own documentation.
For real settings, use the documented scope rather than assuming an example player behaves like Kodi.