Set selected state
a