Add generic selected state.