which to use

What material is better for the lens of diving flashlight,the plastic or the glass?
Want to change my D06’s lens.