Set counter buttons.