Fix notes not removed with applet