replaced settings array with settings object, standardized localStorage keys