Figure 9 illustrates this quite well.
The zero of AOA is somewhat arbitrary, but convention dictates that it is the chord line of the aerofoil with flaps
retracted. If you recalculated the AOA based on the chord line with the new aerofoil shape with flap extended, you'd change the zero reference.