display sync button only if the source is master