Fix StringIndexOutOfBoundsException in SettingsActivity
Code style
Merge pull request #343 from daydreaming-experiment/feature/issue-331

Feature/issue 331