KS-4532 Exception when editing the root name of Page tree macro

Fix description: Check if the root page is renamed or not before loading.