Decouple AppBarCommand and AppBar to be able to share command code with Toolbar