Fixed a defect when adding a page from the user menu