Implement disable next, previous, and active current page in the task index view