private void GetValueFromIntent()
        {
            var score = Intent.GetIntExtra("Score", -1);
            var count = Intent.GetIntExtra("QuestionCount", -1);
            percentageScore = ( (double)score / (double)count ) * 100;

            var playerName = Intent.GetStringExtra("PlayerName");
            var branchId = Intent.GetIntExtra("BranchId", -1);

            var dbSupport = new HistoryDatabase(Resources.GetString(Resource.String.historyDatabaseName));
            dbSupport.Add(playerName, percentageScore, branchId);
        }
        private void FillHistoryList()
        {
            dbSupport = new HistoryDatabase(Resources.GetString(Resource.String.historyDatabaseName));
            history = new List<History>();

            int k = 1;
            foreach (var record in dbSupport.HistoryQuery.OrderByDescending(x => x.Scores))
            {
                history.Add(new History
                {
                    Id = k,
                    PlayerName = record.PlayerName,
                    Scores = record.Scores
                });
                k++;
            }
        }