Like Brian said, acrylic cementing that part back on will be the best solution. It is meant to hold the O-ring onto the end cap. Careful with using epoxy to reattach it because it may get in the O-Ring channel and cause water to slip past the O-ring. We sell battery tube replacement kits on our webstore as well if you need to change it out.