Added Targeted SDK version and set it to 18

Added Targeted SDK version and set it to 18 and changes to the SettingsActivity due to the adt lint.