Added more options to paging and set initial min and max date