Settings.getSettings retrieves a cache of the whole mozSettings in the Settings object. It performs better than creating a lock for accessing.