Added SyncWorker to avoid freezing of interface while syncing