code for editing notes centralized and reused
editing of predefined notes is disabled