added sync of QSettings to avoid misalignment on qsetting amount different processes