bug fix sync main activity
added sync button to main activity
final ver