Note: In the sample, as per your requirement we deselect the previously selected two dates when user select the third date using selectionchanged event of SfCalendar.
If the provided sample doesn't meet your requirement could you please provide more information like modified sample which replicates the reported issue.
It will help us to provide appropriate solution on this.
Regards,
Rathanakumar S.