Just looking at that schematic again: the STATE pin of the HC-05 is connected to an Arduino pin marked DTR. I don't think that's going to work, either. DTR belongs to the USB interface. You probably need to use one of the Arduino's digital pins for that.