add complete option setting and cancel the preview