Apple Script Help: Check if an app is running [HazeOver]

changed the apple script in btt to
tell application "HazeOver" to set intensity to 70
but now the button doesnt show on my touchbar...