Changed the way the sync button is displayed to help eliminate confusion
Removed an unused variable