Decide on the buttons to show