Added callbacks for post creation or removal of favorites