setting: fix wrong autopair hook

Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>