Adding function that adds menu edit class for the admin