updating update settings function to update the syncfolder object instead of recreating it
mergin changes from master
Implemented outlook sync function