Help with replacing toilet in concrete floor bathroom

I am replacing a toilet in a bathroom with a concrete floor. When I took the old toilet out, I found that the old plastic flange was cracked. I got the old one out and got a new plastic flange to go into the pipe in the concrete slab. The new flange has a rubber ring built onto it for going into the drain pipe. Is there something I should do to attached the flange to the drain pipe to ensure that the toilet will not wobble once it is attached to the flange?

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.