Refactoring code on fetching page title:

The fetched title is set to title2 field of page.