checkbox in listview, code refactor!