set the pages they are supossed to go rather than pressing the back
button