If you are using Macros for this, in the Click event of the button, put a macro in and in the macro put this:
In the Action column select: RunCommand
In the Command argument below, select: CreateReplica (or SynchronizeNow) whichever is applicable to your situation.
Most, if not all of the tool bar commands are listed under RunCommand.
BL
hth