add active class to menu item for form submission