more checks for UIMenuItem's title to enhance safeness