Add JButton event handler to use back button on results page
Fixed update function to deal with use case of entering the page multiple times.