added button to show history.