Added click triggers to plugin