MDL-59613 course: Activity list dropdown menu fixes