Implement ModeToggleCommand