Moved the poping state flag for removing the dual url registration inside the back button