ok button pagination