Added default values for preferences