Add and use class for custom title bar.