add selectMode

Signed-off-by: Felix_Y <yuanlinyue@gmail.com>