add preference in config.xml