fix bug update note and sync to server
added cancel on activity create new note