added listener for backbutton navigation ref #217