Toggle favorited class