private void BarrierCombinationBehaviorHeadset_Click(object sender, EventArgs e)
        {
            AwarenessBarrier combinedBehaviorHeadsetBarrier = AwarenessBarrier.And(
                HeadsetBarrier.Keeping(HeadsetStatus.Connected),
                AwarenessBarrier.Or(BehaviorBarrier.Keeping(BehaviorBarrier.BehaviorRunning)
                                    , BehaviorBarrier.Keeping(BehaviorBarrier.BehaviorOnBicycle)));

            BarrierUtils.AddBarrier(this, CombinedBehaviorHeadsetBarrierLabel,
                                    combinedBehaviorHeadsetBarrier, mPendingIntent);
        }
        private void BehaviorBarrierKeeping_Click(object sender, EventArgs e)
        {
            AwarenessBarrier keepStillBarrier = BehaviorBarrier.Keeping(BehaviorBarrier.BehaviorStill);

            BarrierUtils.AddBarrier(this, KeepingBarrierLabel, keepStillBarrier, mPendingIntent);
        }