set object type when saving as favorite