Reducing the non-axisymmetry of a planetary dynamo and an application to saturn