Customized span for generated bar lines is not saved.

Some operations generate regular bar lines with the generated flag on. When the span of these bar lines is customized, the custom span is not saved.

Fix: bar lines with customized span are set as non-generated (in the undo flip() method). The generated flag is restored on undoing.