Improved addNote to add text of multiple lines and add background rectangle