It's fixed switching of vector-layer-button's activity.