a new noteConstructor is now being instantiated inside the saveButton(), after the button is clicked