Added units in preferences