fix spin button in preferences
Merge pull request #3 from mschwendt/master

fix spin button in preferences