You've keyframed the Distance value of your Array modifier, so I guess your problem is that you're trying to change this value but it always comes back to this value when you render. To fix your problem, simply remove the keyframe (to do that you can click on the small rhombusput your timeline player on the right offrame where the valuekeyframe has been created, select it and press X):