Bug fix related to favorites view and photos in details view