make settings persistence
Merge pull request #4 from anstarovoyt/master

make settings persistence