Add function to initialize values for Preferences