readded sync option in gui