who does elena stay with at the end