fix the assign button in the activity.