Fixed note save method, ensure that Note has been assgined an ID