if (editMode) {
            for (a in areasPoints) {
                tempValues[a.key] =
                    Pair(a.value.second.title, a.value.second.position)
                a.value.second.remove()