Improving behavior of 'setSelected:' method