Fix to avoid force close in Settings part of lockscreen shortcuts

Change-Id: Ic6f090cba2a5a75debbe61c29b2744a1812f699c