fix ui detail,add selection mode