Launcher: fix bugs deleting profiles