DRY Menu Code

Cuts down on the repetition of code.