listen to backbutton event: