Added an onTitleClick handler for the main toolbar.