Fix ListPreference crash when the preference has no value am: c94d37e180

Change-Id: I914b0cc17537670d3a0c6316c4733288f1ace536