Changed to pass assignmentId instead of homeworkId when choosing an assignment.