Logic fix for updating navigation item title