function remove(id) {
	const app = apps.find((app) => app.id === id);
	if (!app) return;
	app.remove();
	apps.splice(apps.indexOf(app), 1);
	if (app.active) {
		const firstApp = apps[0];
		firstApp.active = true;
	}
}
Removes a sidebar app with the given ID.
@param {string} id - The ID of the sidebar app to remove.
@returns {void}