change config and switch theme