Zener Diode Protection

As suggested, ditch the LM317 use the 7805

Why is 7805 preferable in this case instead of LM317?
Is it just because it is not adjustable, or is there another reason?