set activeItem to selectedItem