Make "sync now" button in settings page functional