Fixed bug notes not being cleared after added