added condition to mozSettings to work on desktop