mar and unmark fav handling