Back button will no longer close app if you run out of visited pages