add onClick to replay