Settings: fix SecurityException

Change-Id: I34c6483b3b9a284acb641a1859f0e47ea55a6eed