Adding setPageControl