I've got a task which turns BT off the notifies visa a toast and alert.
If I perform the BT off after the notifications everything works as expected, but if I perform the BT OFF first then the notifications, the notifications never fire.
Here's the task description:
```
Task: BT off
Settings: Abort Existing Task
A1: Stop [ ]
If [ %BLUE eq off ]
A2: Perform Task [
Name: BT cancel timer & notification
Priority: %priority+1 ]
A3: If [ %OsSupportsBtChange != 1 ]
A4: Perform Task [
Name: Toast
Priority: %priority+1
Parameter 1 (%par1): {
"message": "BT change not supported",
"title": "BT",
"category": "%Category_Bluetooth",
"icon": "android.resource://net.dinglisch.android.taskerm/drawable/mw_device_bluetooth"
}
Structure Output (JSON, etc): On ]
A5: Stop [ ]
A6: End If
<bug: turning off before stops notify and toast running>
A7: [X] Bluetooth [
Set: Off ]
A8: Perform Task [
Name: Notify
Priority: %priority+1
Parameter 1 (%par1): {
"message": "BT turned off at %TIME.<br/>Last known battery level: %PreviousBatteryLevel%",
"title": "%BtLastDevice",
"useNotify": %NotifyBtBatteryWhenBtTurnedOff,
"category": "%Category_Bluetooth",
"icon": "android.resource://net.dinglisch.android.taskerm/drawable/mw_device_bluetooth"
}
Structure Output (JSON, etc): On ]
A9: Perform Task [
Name: Toast
Priority: %priority+1
Parameter 1 (%par1): {
"message": "BT turned OFF",
"title": "BT",
"category": "%Category_Bluetooth",
"icon": "android.resource://net.dinglisch.android.taskerm/drawable/mw_device_bluetooth"
}
Structure Output (JSON, etc): On ]
A10: Bluetooth [
Set: Off ]
```