Update bar on title change
Fix focus handling