Settings: fix NumberFormatException

Change-Id: I484d7d371d5976b42ad13e128279cf3a67720e97