Added sync button to detail view controller