added a sync button to the main action bar.