title: Windows Phone 8.1 WinJS AppBar disappears if I leave the app (suspended) and go back inside
body: <p>Everything works perfectly. The appbar is displayed only in the home, but if I exit the App without closing and again opening it, it disappears the appbar </p>
  
  <p>In <strong>home.js</strong></p>
  
  <pre><code>WinJS.UI.Pages.define("/pages/home.html", {
      ready: function (element, options) {
      appBar = document.getElementById("createAppBar").winControl;
          appBar.getCommandById("cmdSettings").addEventListener("click", doClickSettings, false);
          appBar.getCommandById("cmdCalibrate").addEventListener("click", doClickCalibrate, false);
          appBar.getCommandById("cmdShare").addEventListener("click", doClickShare, false);
          appBar.getCommandById("cmdEdit").addEventListener("click", doClickCamera, false);
          getLoc();
  
      }});
  ...
  </code></pre>
  
  <p>In <strong>home.html</strong></p>
  
  <pre><code>&lt;div id="createAppBar" data-win-control="WinJS.UI.AppBar" data-win-options="{closedDisplayMode:'minimal'}"&gt;
  &lt;button data-win-control="WinJS.UI.AppBarCommand" data-win-options="{id:'cmdSettings',label:'Ajustes',icon:'settings',tooltip:'Ajustes'}"&gt;&lt;/button&gt;
  &lt;button data-win-control="WinJS.UI.AppBarCommand" data-win-options="{id:'cmdCalibrate',label:'Calibrar',icon:'fourbars',tooltip:'Calibrar'}"&gt;&lt;/button&gt;
  &lt;button data-win-control="WinJS.UI.AppBarCommand" data-win-options="{id:'cmdShare',label:'Compartir',icon:'like',tooltip:'Corre la voz'}"&gt;&lt;/button&gt;
  &lt;button data-win-control="WinJS.UI.AppBarCommand" data-win-options="{id:'cmdEdit',label:'about',icon:'like',tooltip:'Corre la voz'}"&gt;&lt;/button&gt;
  &lt;!--&lt;button data-win-control="WinJS.UI.AppBarCommand" data-win-options="{id:'cmdCamera',label:'Camera',icon:'camera',section:'selection',tooltip:'Take a picture'}"&gt;&lt;/button&gt;--&gt;
  </code></pre>
  
  <p></p>
  
  <p>Can someone help me?
  Tnx in adv!</p>