fixing 4 bugs, one for simple mode buttons. three for removing courses menu

1. fixed when click goback button on editClass window back to simple mode, mutiple menu items occurs
2. fixed missing button when added a new course
3. fixed missing new item in removing menu when added a new course
4. fixed not correctly removing course in the removing menu