settings: Fix warnings

Change-Id: I51fae71c7c4f820aeee0479d89ab873993c02a7a
Merge pull request #2 from CyanogenMod/cm-12.0

settings: Fix warnings