Custom formation resets if you save and quit the game, then start it and load this save. It does not happen if you save/load in the same game window, without quitting it.
If you name your save customly that name will not appear in the load menu though I think that save itself appears.