handleSave method
Saves note content correctly
Implementation
void handleSave() async {
if (isNew) {
if (contentController.text != "") {
addNewNote();
}
} else {
updateNote();
}
mode = NOTESCREEN_MODE_VIEW;
setState(() {});
}