private boolean getBoolean(ISecurePreferences settings, String key) { try { return settings.getBoolean(key, false); } catch (StorageException e) { return false; } }