Locking at the filling nozzle of the fresh water tank loose

Hello At the filling nozzle of the fresh water tank the locking for the tank cover went out. (see pictures) As I see this was a press fit because nothing is broken and no adhesive can be seen. With what can I glue the ring back in again? Have only UHU and Pattex in the house. Food-safe the adhesive does not have to be, since this tank is no longer filled. I thank you in advance for your answers.