Set target device preference in config