public void removePreferences(String module) {
		String prefix = module + '.';
		ArrayList<String> list = new ArrayList<>();
		int length = prefix.length();

		for (Enumeration<Object> keys = mPrefs.keys(); keys.hasMoreElements();) {
			String key = (String) keys.nextElement();

			if (key.startsWith(prefix)) {
				list.add(key.substring(length));
			}
		}

		if (!list.isEmpty()) {
			startBatch();
			mDirty = true;
			for (String keyToRemove : list) {
				removePreference(module, keyToRemove);
			}
			endBatch();
		}
	}