refactor pageTitle actions