replaceLast
Replaces the last entry in the back stack with the given route. If the back stack is empty, it simply adds the route.
Replaces the last entry in the back stack with the given route. If the back stack is empty, it simply adds the route.