immediately before the effective date of this Act (and who continues in office) or immediately before such designation, to act in such office until the same is filled as provided in this Act. While so acting, such officers shall receive compensation at the higher of— (A) the rates provided by this Act for the respective offices in which they act