remove the unused menu options in palette edit view