ide: Fixed endless loop on startup when no language previously selected