Aligning barcode config format with barcode generator.

Broke up tests
replace with `this(context, PreferenceManager.getDefaultSharedPreferences(context));`