Preference setting bug fixed.
Merge pull request #12 from ro3289/bosh

Preference setting bug fixed.