Fix bug of favorite names not saving