Add support for onComplete listeners in the showAlternative method
Improve history navigation