The example of workin with preferences in android programs