Fix issues with synchronization.
Refresh button added.