Fix a text selection problem

Added back some code lines lost in transition earlier.

 - setting the inAdderClick flag avoids running the logic
   which is intended to be run when the user creates a new text
   selection with the mouse
 - clearing the selection on adder click fixes #1598.