fix bug in clicking twice on the same item in the note-pad