Refs issue #22, set pages number when reloadData