[Bug]Fix settings preferences bug