Select layer when Switch created