canvas-item: optimize ref_state_set()

We don't need to iterate over all the icons to find out whether we're
the only selected one.
Updated gujarati translations