Fixed bug in the settings screen