private void BarrierCombinationTimeBluetooth_Click(object sender, EventArgs e)
        {
            // When the Bluetooth car stereo is connected on a weekend, the barrier status is true.
            AwarenessBarrier combinedTimeBluetoothBarrier = AwarenessBarrier.And(
                TimeBarrier.InTimeCategory(TimeBarrier.TimeCategoryWeekend),
                BluetoothBarrier.Keep(BluetoothStatus.DeviceCar, BluetoothStatus.Connected));

            BarrierUtils.AddBarrier(this, CombinedTimeBlueToothBarrierLabel,
                                    combinedTimeBluetoothBarrier, mPendingIntent);
        }
        private void TimeBarrierInTimeCategory_Click(object sender, EventArgs e)
        {
            AwarenessBarrier inTimeCategoryBarrier = TimeBarrier.InTimeCategory(TimeBarrier.TimeCategoryWeekend);

            BarrierUtils.AddBarrier(this, InTimeCategoryBarrierLabel, inTimeCategoryBarrier, mPendingIntent);
        }