State gets extension on Medicaid waiver