APM 2.x Flashing Modified Firmware

Hey. I am currently trying to add my own flight mode to ArduCopter 3.2.1. The problem I am facing is, when I build my code and flash, APM’s parameter list (in Mission Planner) shows some extra flight modes that are not in the code (as I can see) and all those modes do not contain mine.
For example there’s 16 builtin flight modes, and 1 mine. Total 17, but parameter list shows 20, excluding mine.
How do I make my flight mode, and what are these extra modes?