private bool _canRefresh; //todo: fix bad behaviour. If RaiseExecuteChanged is raised, nothing is happening private async Task Refresh() { _canRefresh = await _permissionsService.CanDownload(); _refreshCommand.RaiseCanExecuteChanged(); if (_canRefresh) { await _articleRepository.ActualizeAllArticlesAsync(); } }