Made back button undo the category sort