implement the activity-selector and compile the cii successfully.