Added a feature that auto-selects a course/professor if only one is available.