Replace magic number for shared preferences mode with constant
Fix Russian translation
Replace commit() with apply() on shared preferences editor on API > 8
Merge pull request #18 from makovkastar/develop

Minor code refactoring. Russian translation fixes.