Clear Config: Actually remove all configuration items

Only backup is left in case the user didn’t intend to delete the backup

Also, some minor restructuring of the code