Fixed settings resetting to default on load