passing preferences to onedrive app