Add AlarmDialog and distance unit setting