Change code block in tap that class