I think onTitleChanged is ok here. Leave the checking to callers.