update view on favorite/unfavorite of task