setconfig working + msg if new key is being created [#489]