add Button config, sync getVarName