Fix selected startup bug.