lightsettings: fix force close

Change-Id: Iaa9607438022c05158ea63297ca37a5cbf3a8993