Two back buttons

Document based app on 17.5 has two back buttons, but 17.0 as only one. Did anyone experience this?

I was able to fix it by not using the Navigation Stack if anyone experiences the same issue

Two back buttons
 
 
Q