Fix custom device driver swap main and card option not working