fixed the menu in the history tab for devices without hardware buttons