Layer switch when selecting tool or edit function.