Small fix (possible typo)

Fixed non existing $notes variable in addNote method.