Fix #703757 don't compare with translatable string

It is usually not a good idea to use conditional statements
based on Label or any kind of translatable strings.
Compare it with the object instead of title. Title can
change anytime, not the object.

Signed-off-by: Manish Sinha <manishsinha@ubuntu.com>