Settings: fix NPE

Change-Id: I3d5e2f31bd9d6f892b6b3db0912c8277a8c01c8d