add two buttons on detail page.