Added dependency in preferences