Set title from dictionary to the pages