Add new button and set event for previous, next, first, last button