added preference for sync type