private void EditListInView() { CommandList.Clear(); foreach (var command in availableCommands.GetCommands()) { CommandList.Add(command); } }