Use settings API is really wrong because anyone has settings permission could crash this.

Please just remove this or use a new mechanism.