add checkbox delegate