use state config for scanner settings
State information shall be put into a state config file. IMHO it's debatable whether the settings of the scanner options belong to state or config, but since they are specific to the scanner device, I decided to move them to state, too.