bug fixed: new layers can be reselected after having been deselected