minor cleanup
minor changes
fix isSelectedCourse
modify fn: addToSelected to handle added section