title: Activities' stack (after exit the app, the system clears stack if launchMode="singleInstance")
body: <p>I don't understant why is this happend: I need to create every Activity in single instance, so I put <code>android:launchMode="singleInstance"</code> in Manifest. But when I push 'Home' on the device and open it again the system clears the stack and opens the root Activity, not the last one that was open. How can I keep the last open Activity for the user but keep <code>singleInstance</code> in Manifest?  </p>
  
  <p>EDIT:
  Manifest</p>
  
  <pre><code>...   
  
  
      &lt;application
         ...&gt;           
  
          &lt;activity
              android:name=".ui.login.LoginActivity"
              android:launchMode="singleInstance"
              android:screenOrientation="portrait"/&gt;
          &lt;activity
              android:name=".ui.activity.MainActivity"
              android:label="${app_title_constant}"
              android:launchMode="singleInstance"
              android:screenOrientation="portrait"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN"/&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER"/&gt;
              &lt;/intent-filter&gt;
              &lt;intent-filter&gt;
                  &lt;data android:scheme="${scheme}"/&gt;
  
                  &lt;action android:name="android.intent.action.VIEW"/&gt;
  
                  &lt;category android:name="android.intent.category.DEFAULT"/&gt;
                  &lt;category android:name="android.intent.category.BROWSABLE"/&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".ui.more.service.ScannerActivity"
              android:screenOrientation="portrait"
              android:theme="@style/AppTheme"/&gt;
          &lt;activity
              android:name=".ui.activity.CardsListForSendActivity"
              android:launchMode="singleInstance"
              android:screenOrientation="portrait"/&gt;
  
          &lt;activity
              android:name=".ui.activity.CountriesActivity"
              android:launchMode="singleInstance"
              android:screenOrientation="portrait"/&gt;
          &lt;activity
              android:name=".ui.activity.StepperCardPurchaseActivity"
              android:launchMode="singleInstance"
              android:screenOrientation="portrait"/&gt;
  
          &lt;service
              android:name=".service.CacheContactsIntentService"
              android:exported="false"/&gt;
          &lt;service
              android:name=".managers.push.PushNotificationExtenderService"
              android:exported="false"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="com.onesignal.NotificationExtender"/&gt;
              &lt;/intent-filter&gt;
          &lt;/service&gt;
  
          &lt;receiver
              android:name=".managers.push.PushBroadcastReceiver"
              android:enabled="true"&gt;
          &lt;/receiver&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>