fixes initializer to use preferences in main app
Merge pull request #1 from fantree/2-0-stable

fixes initializer to use preferences in main app