finalized setting values from preferences