selection-changed event emission added