Fixed editing Note (not creating a new one after edit)