This actually did work. I can live with that also. My main problem is when I'm at work I like to use my BT headset for media so I need to turn it all the way up. When I disconnect and load an app occasionally some start up music would blast at the office.
Would you happen to know how I can setup the IF statements so both of these conditions only work if the phone is on vibrate? I don't need the volume to adjust when it's on normal.