Threading implemented on sync buttons.