Hi Hasan,
 Great to hear that it is useful for you!
In Osirix the produced DICOM syncs well spatially and all the positional DICOM elements are identical - so I don't believe there's mistakes in the written orientation.
My best guess is that the behaviour you described is due to the fact that the binarized mask is exported as Secondary Capture (SC). It is possible that your software won't sync to SC modality. It should be a real simple change in the plugin to change the modality to CT, but I have not tried it. Ideally I think it should simply copy the modality of the input, but for some reason the output DICOM becomes SC modality without explicitly setting this.
Perhaps someone here knows if [dicomExport setSourceFile: [curImg srcFile]]; implies SC modality?
Until then, I think you can manually set modality to CT and see if this solves your issue.
If you find a solution please share and we can modify accordingly.
Thanks!
Soren