diff --git a/reactive-banana-wx.cabal b/reactive-banana-wx.cabal
--- a/reactive-banana-wx.cabal
+++ b/reactive-banana-wx.cabal
@@ -1,5 +1,5 @@
 Name:                reactive-banana-wx
-Version:             1.0.0.0
+Version:             1.1.0.0
 Synopsis:            Examples for the reactive-banana library, using wxHaskell.
 Description:
     This library provides some GUI examples for the @reactive-banana@ library,
@@ -39,7 +39,7 @@
     hs-source-dirs:  src
     build-depends:   base >= 4.2 && < 5,
                      cabal-macosx >= 0.1 && < 0.3,
-                     reactive-banana >= 1.0 && < 1.1,
+                     reactive-banana >= 1.1 && < 1.2,
                      wxcore (>= 0.13.2.1 && < 0.90) || (>= 0.90.0.1 && < 0.93),
                      wx (>= 0.13.2.1 && < 0.90) || (>= 0.90.0.1 && < 0.93)
     extensions:      ExistentialQuantification
diff --git a/src/BarTab.hs b/src/BarTab.hs
--- a/src/BarTab.hs
+++ b/src/BarTab.hs
@@ -69,9 +69,9 @@
                     [row 10 [widget add, widget remove]] ++ map widget entries
                     ++ [row 10 [widget msg, minsize (sz 40 20) $ widget total]]
 
-                bTotal :: Behavior Number
-                bTotal = switchB (pure Nothing) $
-                            (fmap sum . sequenceA) <$> ePrices
+            (bTotal :: Behavior Number)
+                <- switchB (pure Nothing) $
+                    (fmap sum . sequenceA) <$> ePrices
 
             sink total [text   :== showNumber <$> bTotal]
             sink f     [layout :== bLayout]
