show done msg when maxPage flag is used

done msg was not displayed when maxPage flag was used