Fixed sidebar update lag when adding course