Save agenda number properly