Procedure UpdatePageTitle
Call this procedure to trigger an update of the page title.If pbUpdateApplicationTitle is True, the framework automatically does this after a new history item is added.