removeSelectedItem
Removes an item from the selected list.
This method handles the removal of an app from the selected list. If the app is directly in the list, it's removed. If the app is part of a category, the category itself is removed and then the other apps in that category are added back to the selected list.
Parameters
appInfo
The AppInfo of the item to remove.