Added preferences
Merge pull request #1 from MiloSovoy/master

Added preferences