Minor update to close #1318

Exit select mode when the last selected app is unselected
Merge pull request #1329 from paour/patch-1

Minor update to close #1318