Setting up note generator
Updating note object. added cancel method