fix mac os x preferneces bug (https://github.com/chatch/pinyin-toolkit/issues/7)
Merge pull request #10 from idavydov/master

fix "Preferences broken on Mac"