Added option to specify element of menu button.