Keep group open AFTER switching apps (and coming back to the app)

@Andreas_Hegenberg I find it annoying that groups close if I quickly switch to another app and then back again, so this would be a good feature.

The app state (it's open groups) should be reset if the app had been quit.