[MAP]Lab9 Java - Delete observers before quitting the application