How to fix a leaky flapper valve?
Sometimes when a flapper gets old and begins to fail (disintegrate) it can leave a piece behind stuck to the outflow pipe that it covers.  This piece/remnant then prevents the new flapper from getting a good seal.  You might want to clean out the tank and make sure there are no remnants of the old flapper stuck in there.