The function of the magnanese (IV) oxide in a leclanche cell is to