How to repair toilet flange that is glued and recessed
Your original flange looks like it's in perfectly good condition, so I wouldn't try to remove &amp; replace it.
Instead, I would use a Flange Spacer like this:
  

or one of these: