A new Determination of the Extragalactic Background of Diffuse Gamma Rays taking into account Dark Matter Annihilation