async void FillData() { var actions = await _service.GetActions(); var elements = actions.Select(a => GlobalContext.InitializeEntity(new RemoteDefaultElement(new Identifier($"{Id.Value}_{a.Id}"), a, _service))).Take(LayoutContext.ButtonCount.Width * LayoutContext.ButtonCount.Height - 1); base.AddElementsInRectangle(elements); }