Minor update to close #1318

Exit select mode when the last selected app is unselected