Fixed "Add Course" buttons that were not working due to refactoring.