Fix for favorites; localStorage issue