Change hard-coded switch values for getPageTitle to constants that match
the other fragment logic.