Added undo in pasteXournal to fix #37