Add active classes to title bar