[weather] Fixed segfault at Weather settings close