Added functionality to emulate a AppBarToggleButton like in Windows Runtime