added on click function in crux icon