set the default values of preferences