Fix long lines in MetadataChannelForm
logicalCh variable to avoid repetition