Moved code from AppBarItemCommand.cs to AppBarToggleItemCommand.cs