Added the possibility to delete lessons and subjects.