Move field registration to MozillaPersonaOption->Register.
When validating the background color, the # must be at the beginning of the line.