fixed issue with the Sync button staying in disabled state