remove unused code block
get pref from currentTarget, which is different from target when tapping on the text of a list-item
remove unnecessary module import