manage onclick