bugfix

Bug fixed, that could cause the app to crash on devices with android
version lower than 2.3 (SDK version 9), when changing the settings or
cause it to not work on this devices at all