Implemented note editing