Added click before adding tool from palette