Fix bug with minimizing an app.
Fix bug with minimizing an app.

Minimizing an app would not set the appState flag to inactive, which confused the entire system. This was a side effect of the change from "toggling" to "mimimizing".

benjymous/MWM-for-Android