selecteditem property for history.