summaryrefslogblamecommitdiffstats
path: root/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java
blob: c5b6bfc7ed9b853010cb7965afce172a552c9611 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322

                               
                                             







                                                 
                              
                           
                                    


                        
                             



                                 
                  
                    
                          
                    
                   




                                                              
                                                                                









                                    

                                          

                                                        


                                                        

                                           

                               

                                      


                                   

                                         



                                          
                                   
                          


                                              



                                            
                                              



                                                













                                                                                   
 


                                                      
                                     
                                            

                                  


                                    





                                                   




                                        




                                              










                                                               

                                         

                                                     



                                                                     
                                    








                                                                 
         

                                                                




                                                                                       






                                                        
                                                 





                                             
                                              
                                           









                                            
                                                


                                                          
                                        





























                                                 
                                          


                                          
                                          







                                                      






                                                 

                                          
                                          
                                                    
                                            



                                                 
                                          
                                                     
                                             



                                                  
                                          
                                                
                                        

                                                  






                                                    
                                          
                                          
                                                    
                                         


































                                                       
                                        










                                            

                                        

                                     

                                       
                                                


                                              





























                                          

                                          

                                          





                                          

                                          

                                          

                                          









                                             
                                              

                                      
                                      


                                        
                                     
                                           
                                
                                




                                           
                                              

                                      
                                      


                                        
                                     
                                           
                                
                                


                                           
                                          
                                              
                                          
                                              
                                          
                                          


                                      


                                             

                                          


                                             











                                            
                                         



                                         

                                       




                                          
                                         

                                          

                                        

                                       



                                        

                                 
                                             



                                                                             

                                                                             

                                           





                                                        
                                            

                                                     
                                                                
                                            
                                           
         



                                                              
                                                 
                 

                                                                       
                                   


                                                              





                                                                                    
                                                                                    





                                                                          
                                                                              
                                                                        









                                                                          
                                                                                  


                                                                                                      
                                                                  





























                                                                              
                                                              


                                                              
                                                              







                                                                                      






                                                                                  




















                                                                                          






                                                                                        






































                                                                                                
                                                                  












                                                                          

                                                            

                                                                
                                                                          


                                                                        















                                                                      

















                                                                      





                                                                      

                                                                      

                                                                      

                                                                      









                                                                        
                                                                      

                                                              
                                                              





                                                                
                                                  




                                                                          
                                                                      

                                                              
                                                              





                                                                
                                                  



                                                                          
                                                                      
                                                              
                                                                      
                                                              
                                                                      





                                                                            

                                                                      


                                                                          


































                                                                    
                                                                                      


                                                                                





                                                                                                            
                                                                                    

                                                                                                      
                                                                                    
                                                                                  



                                                                           
                                                                                                    







                                                                                           
                                                                                   

                                                                                        
                                              
                                                     









                                                                           










                                                                                               
                                                                                     

                                                                                                                                                                                                                                                       

                                                       





                                                                                                                                                                                                                                  

                                                                                                            






















                                                                                                                                                                                                                                                                                       
                                                                                                                                          








                                                                                                                                                                       

                                                                                                                                                                    
                                                                                                                                                                            
                                                                                                                                                  














                                                                                                                                                                                                                 

                                                                                                                                                                    
                                                                                                                                                                            
                                                                                                                                                  












                                                                                                                                                                                      
                                                                                          
                                                                                    
                                                                          









                                                                                                                                                                                                                                          

                                                                                                                    

















                                                                                                                                                                                                                                         

                                                                                                                                                            
                                                                                                                                                                    
                                                                                                                                          
                                                                                                                                    
                                                                                                                          




                                                                                                                                                    
                                                                                                  
                                                                                            
                                                                                  

                                                                                                             
                                                                  
                                                          

                                                  
                                                                    

                                                     






                                                                            

                                                                                                                                                                                                                                                  








                                                                                                                                                                                                                                                                   





                                                                                                                                                                                                                                              


                                                           





                                                                                                                                                                                                                                                                        

                                          
                                                             






                                                                                        
                                                                                                                 







                                                                                       
                                                                            
                                                                                 


                                                                                                                                   
                                                    
                                                                         





                                                





                                                                                                                

                                                                                                                                                  



                                                                                                                                  





                                                                             


                                                                                                   

                                                                                                                            



                                                                                                                                  





                                                                             




                                             

                                                                                                                   
                                                                                                












                                                                                                                    
                                                                                                















                                                                                                                      
                                                                                                








                                                                                                             













                                                                                                                   




                                                                                                            
                                                                                                






                                                                                                                                                                      



                                                                                                                             











                                                                                                                      


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         

                                                     
                                                      
                                                                                       


                                                                                                                                                                         

                                                     

                                                                                       


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         



                                                                                        


                                                                                                                                                                         

                                                     

                                                                                        


                                                                                                                                                                         



                                                                                        


                                                                                                                                                                         



                                                                                        


                                                                                                                                                                         

                                                     













                                                                                                                      

                                                                                          
                                                                                                







































                                                                                                                             






                                                                                                                  




                                                                                         

                                                                                                 
                                                                                      








                                                                                                       









                                                                                                        



                                                                                   







                                                                                                                               

                                                                                                           













                                                                                                                                      

                                                                                                                  


                                                                                          



                                                                                             

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  


                                                                                          



                                                                                             

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                             

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                             

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                             

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                             

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                             

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                             

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                             

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                              

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                              

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                              

                                                                                             
                                                                                                   






































                                                                                                                                
                                                                                                  






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                              

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                              

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                              

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         



                                                                                              

                                                                                             
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        



                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         

                                                     



                                                                                              
                                                                                                   







































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        
                                                                                      


                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         

                                                     












































                                                                                                                                






                                                                                                                  




                                                                                            











                                                                                                          









                                                                                                        
                                                                                      


                                                                                      







                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         




























































































                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         




























































































                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         




























































































                                                                                                                                  

                                                                                                              













                                                                                                                                      

                                                                                                                  

                                                                                          
                                         

                                                     

















































































































                                                                                                                                      
































                                                                                                                     
                                                                         


                                                                             
                                                                            

                                                                                            


                                                                                                                                                                 

                                                                                  
                                                                                        







































                                                                                                                     






                                                                                                          




                                                                                 

                                                                                         
                                                                              








                                                                                               









                                                                                                



                                                                           







                                                                                                                       

                                                                                                   













                                                                                                                              

                                                                                                          


                                                                                  


                                                                        





                                                                                                                                                                                                                                                  
                                  
                                                                    






                                                                               
                                                                                                        






                                                                                       
                                                                            
                                                                                 


                                                                                                                                   
                                                    
                                                                





                                                
                                                                                           
                                  

                                                                                                                   
                                      












                                                                                                                                                                                                                                                                                                                                                                                                                       

                                                               



                                                                                                                                                                                                                                                                                                                                                                                                                     
                                                          
                                                  












                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                  

















                                                                                                                                                                                                                                                                                                
                                                                                          

                                                                                                                    
                                                                          




















































                                                                                                                                                                                                                                                                                                                                                        
                                                                                          















                                                                                                                                                                                                                                                                                                                
                                                                                          

                                                                                  
                                                                  
                                                                                     
                                                                  



























                                                                                                                                       

                                               

                                                                                                                                                                                                                                                                                                                     
                                                         

                                                                                                                                           
                                                         
















































































































                                                                                                                                                                                                                                                                                                                                                                                                                 
                                                                          



































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                  





































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                       



















                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
                                                                  

























































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                  

                                                     



                                  
                                                                                           
                                  

                                                                                                                   
                                      

                                                                                                                                                               
                                                 







                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                 
                                                                                                                                                                        
                                                          


                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                 
                                                                                                                                                                        
                                                          






                                                                                                                                                                                                                                                                                                                                                                                                                                           
                                                          




                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                          
                                                  






























































































                                                                                                                                                                                                                                                                                                                                                                      
                                                                  
                                                                                     
                                                                  
































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                  




















                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                  












                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
                                                                  










































































































                                                                                                                                                                                                                                                                                                                                                             
                                                          
                                                  
                                          
                                  
                                                     

                                  
                    
                 
                                                                                                            
                                  

                                                                                                
                                      



















                                                                                                                            

                                                                  

                                                                                                                                                                                                                                                               
                                                          
                                                                     
                                                  

                                                                                                                                                                                       
                                                  










                                                                                                                                         
                                  
                                                     

                                  
                    
                 
                                                                                           
                                  

                                                                                                                   
                                      












                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                          




                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                          
                                                  











                                                                                                                                                                                                                                                                                                                                                                                                                   
                                                          
                                                  










































































                                                                                                                                                                                                                                                                                                                                                      

                                                                                               











                                                                                                                                                                                                                                                                                                              
                                                                                                          

                                                                                                                                    

                                                                                          
                                                                          






























                                                                                                                                       
                                          







































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                          

























































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                       









                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                          

                                                                                                                                                                         
                                                                                                                                            



















                                                                                                                                                                                                                                                        
                                                                                                          












                                                                                                                                                                                                                                                                                              
                                                                                          










                                                                                                                                                       

                                                                                                            





                                                                                                                                    
                                                                                          










                                                                                                                                              
                                                          
                                                  
                                          
                                  
                                                     
                                  


























                                                                                                                                                                                                                                                                                                                                                                                                                                           

                                                          





                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                          




                                                                                                                                                                                                                                                                                                                                                                                                                                           

                                                          








                                                                                                                                                                                                                                                                                                            





                                                                                                                               
                                                                                                                                    



                                                                                                          
                                                                                                                    
                                                                          






                                                                                                                                                                     

                                                                                                                                    


                                                                                                                                                       














                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                  
                                                                                                                  
                                                                                                           






































                                                                                                                                                                                                                                                                                                                            
                                                                                          
                                                                                  
                                                                          
                                                                  
                                                                                     
                                                                  






                                                                                                                                       
                                                                                          

                                                                                            


                                                                                                               
                                                                                                                    

                                                                                          
                                                                          
                                                                   


































































































































                                                                                                                                                                                                                                                                                                                                                                                                                             
                                                                          


































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                          



                                                                                                                                                                                                                                                                                                           
                                                                                                          
                                                                                                                         

                                                                                                       





                                                                                                                                                                                             

                                                                                                                                                            














                                                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                          










                                                                                                                                                                                                                                                                      
                                                                                                                          



















                                                                                                                                                                                                                                                                                                                           

                                                                                                          
                                                                                          



































                                                                                                                                                               
                                                  













                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

                                                                               



                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
                                                                          



























                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                          









                                                                                                                                                                                     

                                                                                                                                                    
                                                                                                                                                                       

                                                                                                                                                                    






                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                  

                                                                                                                                                                         
                                                                                                                                                  
                                                                                                                                            
                                                                                                                                  










                                                                                                                                                                                                                                                              
                                                                                                                  



















                                                                                                                                                                                                                                                                                                                   
                                                                                                  
                                                                                          
                                                                                  






























                                                                                                                                                       
                                                  
                                          




                                                     

                                                                                                            
                                  













                                                                                                                   
                                                          

















                                                                                                                                                                                                                                                               
                                          












                                                                                                                                         
                          













                                                                                                                                                                                                                                                               
                                                          
                                                                     
                                                  

                                                                                                                                                                                       

                                                  
                                               


                                                                                          
                                          



                                                                                                                                         
                                  
                                                     
                                  



                                                                                      
                                  










                                                                                                                                                
                                         










































                                                                                                                                                                             
                                  




































































                                                                                                                                                                                                            

                                                                            













































                                                                                                                                                                                                                  
                          
                    
                 


















                                                                                                                                           
                                                 
















































                                                                                                                                                                                                             
                                  




                                                                                                                                                                                 
                 










                                                                                    
                 





                                                                                                                                  
                                  



                                                     
                 






















































                                                                                                                                               
                 

















                                                                                                   
                 





                                                                                   
                                  



                                                     
                 










                                                                                                     
                 





                                                                              
                                  



                                                     
                 










                                                                                 
                 

















                                                                                                                                                                                                                  
                                 













                                            
                  
                                     


                  

                                      
                      


                                                               

                               


                                                                                

                                  



















                                                                                                                 

                                     


                  



                                    


          



                                                                             
                  









                                                                                                                                                                                                                
                                  













































                                                                                                                                                                                       




                                                                                               






                                                                                                                                                                   

                                                                                       






                                                                                                                                                                             
                                                                                          
















                                                                                                                                                                                            
                                                                                                          
                                                                                                  
                                                                                          

















































                                                                                                                                                                                                                     



                                                                          
                                                                                   
                                          
                                    
                          

                                                                         


          
                                                                       


                                                                                               


                                                                                                                                                   
                                                                         
                                                                                                                               
                                                                                                                
                                                                                                                      
                                                                                                        
                                                                               
                                                                                                                                                      
                                                                                                                                      
                                                                                          
                                                                                                                                    





                                                                               

                                                                            
                                                                                                    
                                                                                              
                                                                                                                                               
                                                                                                                     
                                                                                                                                           

                                                                                                                                    
                                                                                                                                                                                                                                      
                                                                                                                                                                                                                         
                                                                                                                                                                                                                                        
                                                                                                                                                             
                                                                                                                          
                                                                                                                                                                                                                                    
                                                                                                                                                                       
                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                         
                                                                                                                                                          
                                                                                                                                            




                                                                                                                                                                       
                                                                                                                                                         

                                                                                                                                                                                                                         
                                                                                                                                                                                                 
                                                                                                                                                                                          
                                                                                                                                                                             

                                                                                                                                                                           


                                                                                                                                                            

























                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                          







                                                                                                                                                                                                                                            
                                                                                                                                                                                               




                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                 



                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                          
























                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                                                                 




                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                  






                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                          



















                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                          












                                                                                                                                                                                                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                                                          



































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                          

























                                                                                                                                                                                                                                                                                                                                                                            




                                                                                                                                                                                                                          
                                                                                                                                                          


                                                                                                                                              
                                                                                          
                                                                                        
                                 
                                                                                                                                                                                                                                       
                          
                         

                                     



                  




                                                                                                                                                                                                                                        

                       

                                                                                                                                                                                                                                                   

                          

                                                                                                                          
                  

                                                                                                                                   
                  

                                                                                                        
                  

                                                                                                                 



                  


                                                                                                                                                 
                  

                                                                                                        



                  





                                                                                                                                                         

                       




                                                                                                                                                                 

                               




                                                                                                                                                                         

                                       




                                                                                                                                                                                 

                                               




                                                                                                                                                                                         

                                                       




                                                                                                                                                                                                 

                                                               




                                                                                                                                                                                                         

                                                                       




                                                                                                                                                                                                                 

                                                                               




                                                                                                                                                                                                                         

                                                                                       




                                                                                                                                                                                                                                 

                                                                                               




                                                                                                                                                                                                                                         

                                                                                                       




                                                                                                                                                                                                                                                 

                                                                                                               




                                                                                                                                                                                                                                                         

                                                                                                                       




                                                                                                                                                                                                                                                                 
                                                                                                                          
































































































































































































                                                                                                                                                                                                                                                                                                   
                                                                                                                                          












































                                                                                                                                                                                                                                                                                                            
                                                                                                                                                          








































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
                                                                                                                                                                                          

                                                                                                                                                                                                             
                                                                                                                                                          
                                                                                                                                              
                                                                                                          
                                                                                                                        
                                                                                          










































































































































































                                                                                                                                                                                                                                       
                                  
                  



















                                                                            
                                 



























                                                                                                  

          

                                      


          




















                                                                                                                                                              


          












































                                                                                                         

          





















































                                                                                                         


          























































                                                                                                         



                 








                                                                                                                                                                                                              

                                                            
                                                                               

                                                                            











                                                                                                                                                
                                                                          






                                                                                                         

                                                                                            




























































                                                                                                                                                                                                                                                                                                                                                             
                                                                          

                                                                                                    
                                                          











































                                                                                                                                                      

                                                                            



































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
                          
                         
                  
                                     
                  


          
                                                                                      





                                                                                                                                                   













































































                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                          




















                                                                                                                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                       

































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         







                                                                                                                                                                                                                          



























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                       
                                                                                                                          


































































































































































































































                                                                                                                                                                                                                                              
                                                                                                                                          


































































































































































































































                                                                                                                                                                                                                                                              
                                                                                                                                                          

























































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                          


                                                                                                                                                                                  
                                                                                                                                                          




                                                                                                                                                  
                                                                                                          
                                                                                                  
                                                                                          






                                                                                  
                          



                  









































                                                                                                                                                                           

          
         
































                                                                                                                                                                           

          
         







































































































                                                                                                          


          



                                                                                                                                           
                 

                                                        
                 

                                                         
                 

                                                               


                 

          
         


                                     

                 

         






















































                                                                                                                                                                           
                                          



                                                                          
          
         
         
























                                                                                                         


          



                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       


          





                                                                                                                        


          



























                                                                                                                                                                                     
                  

















                                                                                                                                                                            
                                  


















                                                                                                                                                                                                 
                                                                                  













                                                                                                                                                                                                                                     
                                                                                                          


                                                                                                                                                            
                                                                                                  





                                                                                                                                                              
                                                  


































































































































                                                                                                                                                                                                                                                   
                                                                                                                          




                                                                                                                                                                                                                                                                                                   
                                                                                                                                                          




                                                                                                                                                                       
                                                                                                                                          
                                                                                                                          








































                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                          

































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                          

                                                                                                                                                                                                             
                                                                                                                                                          
                                                                                                                                              
                                                                                                          
                                                                                                                        
                                                                                          














































                                                                                                                                                                                                                                        
                                                                                                                          




                                                                                                                                                                                                                                                                                                   
                                                                                                                                                          




                                                                                                                                                                       
                                                                                                                                          
                                                                                                                          










































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                          

                                     


                  










                                                                                                                                                                             
                  





















                                                                                                                      
                  


                                             
                 
                 







                                                                                                                                                                                                                                                            
                                  























































































                                                                                                                                                                                                                                                             
                                                                                          





                                                                                                                                                                                                                         
                                                                                                  
                                                                                  








                                                                                                                                                                               
                                                  































































































































































































































































































































































































                                                                                                                                                                                                                                  
                                                                                          













































                                                                                                                                                                               

                                                                                                                                                                            

                                                                                                                                                                                                        

                                                                                                                                                                                            






                                                                                                                                                                                                                                         
                                                                                                                                                                                          
                                                                                                                                                                                    
                                                                                                                                                                          

                                                                                                                                                                                                    
                                                                                                                                                          
                                                                                                                                                    
                                                                                                                                          

                                                                                                                                                                    

                                                                                                                          
                                                                                                          
                                                                                                   





                                                                                                                                    
                                                          












                                                                                                                                                                                             
                                                                         





















































































                                                                                                                                                   

                                                                               




                                                                                                                                                        

                                                                                  













                                                                                                                                                                                

                                                                                                               




                                                                                                                                                                                        
                                                                                                                  
                                                                                                          














                                                                                                                                                                                                                




                                                                                                                                                                                       







                                                                                                                                                                                                                                                                                                                                                                     



                                                                                                                                                                  
                                                                                                                                                                            
                                                                                                                                  
                                                                                                                            
                                                                                                                  

                                                                                                                                            
                                                                                                  










































































                                                                                                                                                                                                              

                                                                                                                                    






                                                                                                                                                                                                                                                            
                                                                                                                  


























                                                                                                                                                                                                                                                                       
                                                                  
                                                          

                                                                                                  
                                                  





















































                                                                                                                                                                                        

                                                                                                                                 
                                                                                           
                                                  








                                                                      
                          
























































































































































































                                                                                                                                         

                          
                                      


                  






























                                                                                           

                                                                               

                              





                                                                                                                                                 







                                             




































                                                                                        
                                          



                                                                                                                           
                                             



                                                                       
                                              

                                                                        
  
package com.xc3fff0e.xmanager;

import com.xc3fff0e.xmanager.SplashActivity;
import androidx.appcompat.app.AppCompatActivity;
import androidx.annotation.*;
import android.app.*;
import android.os.*;
import android.view.*;
import android.view.View.*;
import android.widget.*;
import android.content.*;
import android.content.res.*;
import android.graphics.*;
import android.graphics.drawable.*;
import android.media.*;
import android.net.*;
import android.text.*;
import android.text.style.*;
import android.util.*;
import android.webkit.*;
import android.animation.*;
import android.view.animation.*;
import java.io.*;
import java.util.*;
import java.util.regex.*;
import java.text.*;
import org.json.*;
import java.util.HashMap;
import java.util.ArrayList;
import android.widget.LinearLayout;
import android.widget.ScrollView;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout.OnRefreshListener;
import android.widget.TextView;
import android.widget.ImageView;
import android.widget.Switch;
import android.widget.Spinner;
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.ListView;
import android.widget.BaseAdapter;
import java.util.Timer;
import java.util.TimerTask;
import android.app.Activity;
import android.content.SharedPreferences;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import com.google.firebase.iid.FirebaseInstanceId;
import com.google.firebase.iid.InstanceIdResult;
import com.google.firebase.messaging.FirebaseMessaging;
import androidx.core.content.FileProvider;
import java.io.File;
import android.content.Intent;
import android.net.Uri;
import android.widget.CompoundButton;
import android.view.View;
import android.text.Editable;
import android.text.TextWatcher;
import android.widget.AdapterView;
import android.content.ClipData;
import android.content.ClipboardManager;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import android.graphics.Typeface;
import java.text.DecimalFormat;
import com.wuyr.rippleanimation.*;
import com.unity3d.ads.*;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.DialogFragment;
import androidx.core.content.ContextCompat;
import androidx.core.app.ActivityCompat;
import android.Manifest;
import android.content.pm.PackageManager;
import androidx.core.widget.NestedScrollView;
import static android.os.Build.VERSION.SDK_INT;
import androidx.core.content.ContextCompat;
import androidx.core.app.ActivityCompat;
import androidx.annotation.NonNull;
import com.google.android.gms.ads.*;
import com.google.android.gms.ads.AdError;
import com.google.android.gms.ads.MobileAds;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.LoadAdError;
import com.google.android.gms.ads.rewarded.RewardItem;
import com.google.android.gms.ads.rewarded.RewardedAd;
import com.google.android.gms.ads.interstitial.InterstitialAd;
import com.google.android.gms.ads.FullScreenContentCallback;
import com.google.android.gms.ads.OnUserEarnedRewardListener;
import com.google.android.gms.ads.initialization.InitializationStatus;
import com.google.android.gms.ads.rewarded.RewardedAdLoadCallback;
import com.google.android.gms.ads.interstitial.InterstitialAdLoadCallback;
import com.google.android.gms.ads.initialization.OnInitializationCompleteListener;


public class MainActivity extends AppCompatActivity {
	
     private RewardedAd mRewardedAd;
	private Timer _timer = new Timer();
	
	private double CHECK = 0;
	private String PATH = "";
	private double COUNTER = 0;
	private double DELETE = 0;
	private String download_selected_0 = "";
	private String download_ready_0 = "";
	private String download_ready_desc_0 = "";
	private String downloading_file_0 = "";
	private String download_success_0 = "";
	private String copy_url_desc_0 = "";
	private String copy_url_0 = "";
	private String download_0 = "";
	private String cancel_0 = "";
	private String continue_0 = "";
	private String later_0 = "";
	private String install_now_0 = "";
	private String go_back_0 = "";
	private String install_update_0 = "";
	private double CLOSER_1 = 0;
	private double CLOSER_2 = 0;
	private String Installed_Checker = "";
	private String Installed_Checker_Cloned = "";
	private double Installed_Version = 0;
	private double Downloaded_Version = 0;
	private double Installed_Version_Cloned = 0;
	private double Downloaded_Version_Cloned = 0;
	private  AlertDialog AlertDialog;
	private String installation_failed_0 = "";
	private String installation_failed_desc_0 = "";
	private String installation_failed_ream_desc_0 = "";
	private String installation_failed_cloned_desc_0 = "";
	private String close_0 = "";
	private String uninstall_0 = "";
	private String existing_patched_0 = "";
	private String existing_patched_desc_0 = "";
	private  Boolean testMode = true;
	private  String unityGameID = "4673349";
	private  String placementVideo = "Interstitial_Android";
	private  String placementRewardedVideo = "Rewarded_Android";
	private double UNCLICK = 0;
	private String REGULAR = "";
	private HashMap<String, Object> Datas = new HashMap<>();
	private String Regular = "";
	private String Amoled = "";
	private String Regular_Cloned = "";
	private String Amoled_Cloned = "";
	private String Mod_Changelogs = "";
	private double Current_Version = 0;
	private double Latest_Version = 0;
	
	private ArrayList<String> Language = new ArrayList<>();
	private ArrayList<String> Theme = new ArrayList<>();
	private ArrayList<HashMap<String, Object>> regular = new ArrayList<>();
	private ArrayList<HashMap<String, Object>> amoled = new ArrayList<>();
	private ArrayList<HashMap<String, Object>> regular_cloned = new ArrayList<>();
	private ArrayList<HashMap<String, Object>> amoled_cloned = new ArrayList<>();
	private ArrayList<HashMap<String, Object>> mod_changelogs = new ArrayList<>();
	
	private LinearLayout box_header;
	private LinearLayout main_body_optimization;
	private ScrollView main_scroll_settings;
	private ScrollView main_scroll_about;
	private SwipeRefreshLayout main_refresh_layout;
	private TextView title_header;
	private TextView title_header_separator;
	private TextView title_header_beta;
	private LinearLayout box_header_tab;
	private LinearLayout box_switch;
	private LinearLayout box_update;
	private ImageView icon_switch;
	private ImageView icon_update;
	private TextView installation_failed;
	private TextView existing_patched;
	private TextView close;
	private TextView ream;
	private TextView uninstall_patched;
	private TextView open_settings;
	private TextView uninstall;
	private TextView delete;
	private TextView open_patched;
	private TextView ignore;
	private TextView cloned;
	private TextView install;
	private TextView existing_patched_desc;
	private TextView installation_failed_cloned_desc;
	private TextView installation_failed_ream_desc;
	private TextView installation_failed_desc;
	private TextView hidden_update;
	private TextView app_changelogs;
	private TextView download_selected;
	private TextView download_ready;
	private TextView download_ready_desc;
	private TextView downloading_file;
	private TextView download_success;
	private TextView maintenance_desc;
	private TextView copy_url_desc;
	private TextView maintenance;
	private TextView thanks;
	private TextView main_title;
	private TextView settings_title;
	private TextView about_title;
	private TextView file_directory;
	private TextView new_update;
	private TextView continue_1;
	private TextView cancel;
	private TextView download;
	private TextView later;
	private TextView directory;
	private TextView install_now;
	private TextView install_update;
	private TextView go_back;
	private TextView download_update;
	private TextView not_now;
	private TextView copy_url;
	private TextView show_support;
	private TextView show_support_desc;
	private LinearLayout main_body_settings;
	private LinearLayout box_settings_close;
	private LinearLayout main_box_16;
	private LinearLayout main_box_8;
	private LinearLayout main_box_11;
	private LinearLayout main_box_12;
	private LinearLayout main_box_17;
	private LinearLayout main_box_7;
	private LinearLayout main_box_5;
	private LinearLayout main_box_14;
	private LinearLayout main_box_9;
	private LinearLayout main_box_10;
	private LinearLayout main_box_13;
	private LinearLayout box_settings_icon_close;
	private ImageView settings_icon_close;
	private LinearLayout box_16_sub_1;
	private LinearLayout box_16_sub_2;
	private LinearLayout title_box_5;
	private LinearLayout box_cloned_version;
	private TextView cloned_version;
	private Switch cloned_version_switch;
	private TextView cloned_version_info;
	private LinearLayout box_8_sub_1;
	private LinearLayout box_8_sub_2;
	private LinearLayout title_box_1;
	private LinearLayout box_list_auto_refresh;
	private TextView list_auto_refresh;
	private Switch list_auto_refresh_switch;
	private TextView list_auto_refresh_info;
	private LinearLayout box_11_sub_1;
	private LinearLayout box_11_sub_2;
	private LinearLayout title_box_2;
	private LinearLayout box_force_auto_install;
	private TextView force_auto_install;
	private Switch force_auto_install_switch;
	private TextView force_auto_install_info;
	private LinearLayout box_12_sub_1;
	private LinearLayout box_12_sub_2;
	private LinearLayout title_box_3;
	private LinearLayout box_copy_url_mode;
	private TextView copy_url_mode;
	private Switch copy_url_mode_switch;
	private TextView copy_file_url_mode_info;
	private LinearLayout box_17_sub_1;
	private LinearLayout box_17_sub_2;
	private LinearLayout title_box_6;
	private LinearLayout box_disable_reward_ad;
	private TextView disable_reward_ad;
	private Switch disable_reward_ad_switch;
	private TextView disable_reward_ad_info;
	private LinearLayout box_7_sub_1;
	private LinearLayout title_box_4;
	private LinearLayout box_navigation_switch;
	private TextView navigation_bar;
	private Switch navigation_switch;
	private LinearLayout box_5_sub_1;
	private TextView theme;
	private LinearLayout box_theme_switch;
	private Spinner select_theme;
	private LinearLayout box_14_sub_1;
	private TextView language;
	private LinearLayout box_language_switch;
	private Spinner select_language;
	private LinearLayout box_9_sub_1;
	private LinearLayout box_9_sub_2;
	private TextView apk_location;
	private EditText apk_path_location;
	private TextView apk_location_info;
	private LinearLayout box_10_sub_1;
	private LinearLayout box_10_sub_2;
	private TextView clear_directory_folders;
	private TextView clear_directory_folders_info;
	private LinearLayout box_reset_settings;
	private TextView reset_settings;
	private LinearLayout main_body_about;
	private LinearLayout box_about_close;
	private LinearLayout box_about_header;
	private LinearLayout box_about_sub;
	private LinearLayout box_about_1;
	private LinearLayout box_about_2;
	private LinearLayout box_about_3;
	private LinearLayout box_about_4;
	private LinearLayout box_about_5;
	private LinearLayout box_about_6;
	private LinearLayout box_about_7;
	private TextView contributors_1;
	private LinearLayout box_icon_close;
	private ImageView icon_close;
	private TextView title_about;
	private TextView local_version;
	private TextView sub_title;
	private TextView developer_manager;
	private TextView developer_1;
	private TextView developer_spotify;
	private TextView developer_2;
	private TextView support_team;
	private TextView support_1;
	private TextView mod_testers_1;
	private TextView testers_1;
	private TextView mod_testers_2;
	private TextView testers_2;
	private TextView mobilism_team;
	private TextView mobilism_1;
	private TextView forum_team;
	private TextView forum_1;
	private TextView manager_team;
	private TextView manager_1;
	private LinearLayout box_about_4_sub_1;
	private TextView manager_donators;
	private TextView donators;
	private LinearLayout about_separator;
	private TextView manager_lang_13;
	private TextView translator_13;
	private TextView manager_lang_1;
	private TextView translator_1;
	private TextView manager_lang_2;
	private TextView translator_2;
	private TextView manager_lang_3;
	private TextView translator_3;
	private TextView manager_lang_4;
	private TextView translator_4;
	private TextView manager_lang_5;
	private TextView translator_5;
	private TextView manager_lang_6;
	private TextView translator_6;
	private TextView manager_lang_7;
	private TextView translator_7;
	private TextView manager_lang_8;
	private TextView translator_8;
	private TextView manager_lang_15;
	private TextView translator_15;
	private TextView manager_lang_9;
	private TextView translator_9;
	private TextView manager_lang_14;
	private TextView translator_14;
	private TextView manager_lang_10;
	private TextView translator_10;
	private TextView manager_lang_12;
	private TextView translator_12;
	private TextView manager_lang_11;
	private TextView translator_11;
	private TextView manager_lang_16;
	private TextView translator_16;
	private TextView manager_lang_17;
	private TextView translator_17;
	private TextView manager_lang_18;
	private TextView translator_18;
	private TextView manager_lang_19;
	private TextView translator_19;
	private TextView manager_lang_20;
	private TextView translator_20;
	private TextView manager_lang_21;
	private TextView translator_21;
	private TextView manager_lang_22;
	private TextView translator_22;
	private TextView manager_lang_23;
	private TextView translator_23;
	private ScrollView main_scroll_body;
	private LinearLayout main_body;
	private LinearLayout main_box_1;
	private LinearLayout main_box_2;
	private LinearLayout main_box_6;
	private LinearLayout box_sub_header;
	private LinearLayout main_box_4;
	private LinearLayout main_box_15;
	private LinearLayout box_1;
	private LinearLayout box_2;
	private LinearLayout box_separator_1;
	private LinearLayout box_5;
	private ListView list_menu_1;
	private ListView list_menu_3;
	private TextView title_1;
	private LinearLayout box_1_sub;
	private TextView regular_info;
	private TextView sub_text_1;
	private LinearLayout box_switch_1;
	private TextView sub_1;
	private TextView sub_5;
	private TextView version_switch_1;
	private LinearLayout box_sub_5;
	private Switch version_switch_01;
	private LinearLayout box_3;
	private LinearLayout box_4;
	private LinearLayout box_separator_2;
	private LinearLayout box_6;
	private ListView list_menu_2;
	private ListView list_menu_4;
	private TextView title_2;
	private LinearLayout box_3_sub;
	private TextView amoled_info;
	private TextView sub_text_3;
	private LinearLayout box_switch_2;
	private TextView sub_3;
	private TextView sub_7;
	private TextView version_switch_2;
	private LinearLayout box_sub_6;
	private Switch version_switch_02;
	private LinearLayout box_6_sub_1;
	private LinearLayout box_separator_3;
	private LinearLayout box_6_sub_2;
	private LinearLayout box_separator_4;
	private LinearLayout box_6_sub_3;
	private ListView list_changelogs;
	private TextView device_cpu;
	private LinearLayout box_cpu;
	private TextView cpu;
	private TextView sub_text_installed;
	private LinearLayout box_installed;
	private TextView sub_installed;
	private TextView sub_separator;
	private TextView sub_installed_c;
	private TextView changelogs;
	private LinearLayout box_changelogs;
	private Switch changelogs_switch;
	private LinearLayout box_sub_1;
	private LinearLayout box_sub_2;
	private TextView title_sub;
	private LinearLayout box_uninstall;
	private LinearLayout box_settings;
	private LinearLayout box_cache;
	private LinearLayout box_open;
	private ImageView icon_uninstall;
	private ImageView icon_settings;
	private ImageView icon_cache;
	private ImageView icon_open;
	private LinearLayout box_support;
	private LinearLayout box_reddit;
	private LinearLayout box_donate;
	private LinearLayout box_about;
	private TextView support;
	private ImageView icon_support;
	private TextView reddit;
	private ImageView icon_reddit;
	private TextView donate;
	private ImageView icon_donate;
	private TextView about;
	private ImageView icon_about;
	private LinearLayout box_discord;
	private LinearLayout box_source;
	private LinearLayout box_website;
	private LinearLayout box_faq;
	private TextView discord;
	private ImageView icon_discord;
	private TextView source;
	private ImageView icon_source;
	private TextView website;
	private ImageView icon_website;
	private TextView faq;
	private ImageView icon_faq;
	
	private TimerTask Timer;
	private SharedPreferences ON_SCREEN;
	private SharedPreferences THEME;
	private SharedPreferences DESC_X;
	private RequestNetwork Connection;
	private RequestNetwork.RequestListener _Connection_request_listener;
	
	private OnCompleteListener xManager_Notification_onCompleteListener;
	private FileProvider FileProvider;
	private File File_Fixer;
	private SharedPreferences NAVIGATION_BAR;
	private SharedPreferences LIST_REFRESH;
	private SharedPreferences APK_PATH;
	private SharedPreferences FORCE_INSTALL;
	private SharedPreferences FORCE_INSTALL_UPDATE;
	private SharedPreferences COPY_URL_MODE;
	private SharedPreferences LANGUAGE;
	private SharedPreferences CLONED_VERSION;
	private SharedPreferences DISABLE_REWARD_AD;
	private Intent External_Storage_Manager = new Intent();
	private SharedPreferences DOWNLOAD;
	private SharedPreferences AD_UNIT;
	
	@Override
	protected void onCreate(Bundle _savedInstanceState) {
		super.onCreate(_savedInstanceState);
		setContentView(R.layout.main);
		initialize(_savedInstanceState);
		
		com.google.android.gms.ads.MobileAds.initialize(this);
		
		initializeLogic();
	}
	
	private void initialize(Bundle _savedInstanceState) {
		box_header = findViewById(R.id.box_header);
		main_body_optimization = findViewById(R.id.main_body_optimization);
		main_scroll_settings = findViewById(R.id.main_scroll_settings);
		main_scroll_about = findViewById(R.id.main_scroll_about);
		main_refresh_layout = findViewById(R.id.main_refresh_layout);
		title_header = findViewById(R.id.title_header);
		title_header_separator = findViewById(R.id.title_header_separator);
		title_header_beta = findViewById(R.id.title_header_beta);
		box_header_tab = findViewById(R.id.box_header_tab);
		box_switch = findViewById(R.id.box_switch);
		box_update = findViewById(R.id.box_update);
		icon_switch = findViewById(R.id.icon_switch);
		icon_update = findViewById(R.id.icon_update);
		installation_failed = findViewById(R.id.installation_failed);
		existing_patched = findViewById(R.id.existing_patched);
		close = findViewById(R.id.close);
		ream = findViewById(R.id.ream);
		uninstall_patched = findViewById(R.id.uninstall_patched);
		open_settings = findViewById(R.id.open_settings);
		uninstall = findViewById(R.id.uninstall);
		delete = findViewById(R.id.delete);
		open_patched = findViewById(R.id.open_patched);
		ignore = findViewById(R.id.ignore);
		cloned = findViewById(R.id.cloned);
		install = findViewById(R.id.install);
		existing_patched_desc = findViewById(R.id.existing_patched_desc);
		installation_failed_cloned_desc = findViewById(R.id.installation_failed_cloned_desc);
		installation_failed_ream_desc = findViewById(R.id.installation_failed_ream_desc);
		installation_failed_desc = findViewById(R.id.installation_failed_desc);
		hidden_update = findViewById(R.id.hidden_update);
		app_changelogs = findViewById(R.id.app_changelogs);
		download_selected = findViewById(R.id.download_selected);
		download_ready = findViewById(R.id.download_ready);
		download_ready_desc = findViewById(R.id.download_ready_desc);
		downloading_file = findViewById(R.id.downloading_file);
		download_success = findViewById(R.id.download_success);
		maintenance_desc = findViewById(R.id.maintenance_desc);
		copy_url_desc = findViewById(R.id.copy_url_desc);
		maintenance = findViewById(R.id.maintenance);
		thanks = findViewById(R.id.thanks);
		main_title = findViewById(R.id.main_title);
		settings_title = findViewById(R.id.settings_title);
		about_title = findViewById(R.id.about_title);
		file_directory = findViewById(R.id.file_directory);
		new_update = findViewById(R.id.new_update);
		continue_1 = findViewById(R.id.continue_1);
		cancel = findViewById(R.id.cancel);
		download = findViewById(R.id.download);
		later = findViewById(R.id.later);
		directory = findViewById(R.id.directory);
		install_now = findViewById(R.id.install_now);
		install_update = findViewById(R.id.install_update);
		go_back = findViewById(R.id.go_back);
		download_update = findViewById(R.id.download_update);
		not_now = findViewById(R.id.not_now);
		copy_url = findViewById(R.id.copy_url);
		show_support = findViewById(R.id.show_support);
		show_support_desc = findViewById(R.id.show_support_desc);
		main_body_settings = findViewById(R.id.main_body_settings);
		box_settings_close = findViewById(R.id.box_settings_close);
		main_box_16 = findViewById(R.id.main_box_16);
		main_box_8 = findViewById(R.id.main_box_8);
		main_box_11 = findViewById(R.id.main_box_11);
		main_box_12 = findViewById(R.id.main_box_12);
		main_box_17 = findViewById(R.id.main_box_17);
		main_box_7 = findViewById(R.id.main_box_7);
		main_box_5 = findViewById(R.id.main_box_5);
		main_box_14 = findViewById(R.id.main_box_14);
		main_box_9 = findViewById(R.id.main_box_9);
		main_box_10 = findViewById(R.id.main_box_10);
		main_box_13 = findViewById(R.id.main_box_13);
		box_settings_icon_close = findViewById(R.id.box_settings_icon_close);
		settings_icon_close = findViewById(R.id.settings_icon_close);
		box_16_sub_1 = findViewById(R.id.box_16_sub_1);
		box_16_sub_2 = findViewById(R.id.box_16_sub_2);
		title_box_5 = findViewById(R.id.title_box_5);
		box_cloned_version = findViewById(R.id.box_cloned_version);
		cloned_version = findViewById(R.id.cloned_version);
		cloned_version_switch = findViewById(R.id.cloned_version_switch);
		cloned_version_info = findViewById(R.id.cloned_version_info);
		box_8_sub_1 = findViewById(R.id.box_8_sub_1);
		box_8_sub_2 = findViewById(R.id.box_8_sub_2);
		title_box_1 = findViewById(R.id.title_box_1);
		box_list_auto_refresh = findViewById(R.id.box_list_auto_refresh);
		list_auto_refresh = findViewById(R.id.list_auto_refresh);
		list_auto_refresh_switch = findViewById(R.id.list_auto_refresh_switch);
		list_auto_refresh_info = findViewById(R.id.list_auto_refresh_info);
		box_11_sub_1 = findViewById(R.id.box_11_sub_1);
		box_11_sub_2 = findViewById(R.id.box_11_sub_2);
		title_box_2 = findViewById(R.id.title_box_2);
		box_force_auto_install = findViewById(R.id.box_force_auto_install);
		force_auto_install = findViewById(R.id.force_auto_install);
		force_auto_install_switch = findViewById(R.id.force_auto_install_switch);
		force_auto_install_info = findViewById(R.id.force_auto_install_info);
		box_12_sub_1 = findViewById(R.id.box_12_sub_1);
		box_12_sub_2 = findViewById(R.id.box_12_sub_2);
		title_box_3 = findViewById(R.id.title_box_3);
		box_copy_url_mode = findViewById(R.id.box_copy_url_mode);
		copy_url_mode = findViewById(R.id.copy_url_mode);
		copy_url_mode_switch = findViewById(R.id.copy_url_mode_switch);
		copy_file_url_mode_info = findViewById(R.id.copy_file_url_mode_info);
		box_17_sub_1 = findViewById(R.id.box_17_sub_1);
		box_17_sub_2 = findViewById(R.id.box_17_sub_2);
		title_box_6 = findViewById(R.id.title_box_6);
		box_disable_reward_ad = findViewById(R.id.box_disable_reward_ad);
		disable_reward_ad = findViewById(R.id.disable_reward_ad);
		disable_reward_ad_switch = findViewById(R.id.disable_reward_ad_switch);
		disable_reward_ad_info = findViewById(R.id.disable_reward_ad_info);
		box_7_sub_1 = findViewById(R.id.box_7_sub_1);
		title_box_4 = findViewById(R.id.title_box_4);
		box_navigation_switch = findViewById(R.id.box_navigation_switch);
		navigation_bar = findViewById(R.id.navigation_bar);
		navigation_switch = findViewById(R.id.navigation_switch);
		box_5_sub_1 = findViewById(R.id.box_5_sub_1);
		theme = findViewById(R.id.theme);
		box_theme_switch = findViewById(R.id.box_theme_switch);
		select_theme = findViewById(R.id.select_theme);
		box_14_sub_1 = findViewById(R.id.box_14_sub_1);
		language = findViewById(R.id.language);
		box_language_switch = findViewById(R.id.box_language_switch);
		select_language = findViewById(R.id.select_language);
		box_9_sub_1 = findViewById(R.id.box_9_sub_1);
		box_9_sub_2 = findViewById(R.id.box_9_sub_2);
		apk_location = findViewById(R.id.apk_location);
		apk_path_location = findViewById(R.id.apk_path_location);
		apk_location_info = findViewById(R.id.apk_location_info);
		box_10_sub_1 = findViewById(R.id.box_10_sub_1);
		box_10_sub_2 = findViewById(R.id.box_10_sub_2);
		clear_directory_folders = findViewById(R.id.clear_directory_folders);
		clear_directory_folders_info = findViewById(R.id.clear_directory_folders_info);
		box_reset_settings = findViewById(R.id.box_reset_settings);
		reset_settings = findViewById(R.id.reset_settings);
		main_body_about = findViewById(R.id.main_body_about);
		box_about_close = findViewById(R.id.box_about_close);
		box_about_header = findViewById(R.id.box_about_header);
		box_about_sub = findViewById(R.id.box_about_sub);
		box_about_1 = findViewById(R.id.box_about_1);
		box_about_2 = findViewById(R.id.box_about_2);
		box_about_3 = findViewById(R.id.box_about_3);
		box_about_4 = findViewById(R.id.box_about_4);
		box_about_5 = findViewById(R.id.box_about_5);
		box_about_6 = findViewById(R.id.box_about_6);
		box_about_7 = findViewById(R.id.box_about_7);
		contributors_1 = findViewById(R.id.contributors_1);
		box_icon_close = findViewById(R.id.box_icon_close);
		icon_close = findViewById(R.id.icon_close);
		title_about = findViewById(R.id.title_about);
		local_version = findViewById(R.id.local_version);
		sub_title = findViewById(R.id.sub_title);
		developer_manager = findViewById(R.id.developer_manager);
		developer_1 = findViewById(R.id.developer_1);
		developer_spotify = findViewById(R.id.developer_spotify);
		developer_2 = findViewById(R.id.developer_2);
		support_team = findViewById(R.id.support_team);
		support_1 = findViewById(R.id.support_1);
		mod_testers_1 = findViewById(R.id.mod_testers_1);
		testers_1 = findViewById(R.id.testers_1);
		mod_testers_2 = findViewById(R.id.mod_testers_2);
		testers_2 = findViewById(R.id.testers_2);
		mobilism_team = findViewById(R.id.mobilism_team);
		mobilism_1 = findViewById(R.id.mobilism_1);
		forum_team = findViewById(R.id.forum_team);
		forum_1 = findViewById(R.id.forum_1);
		manager_team = findViewById(R.id.manager_team);
		manager_1 = findViewById(R.id.manager_1);
		box_about_4_sub_1 = findViewById(R.id.box_about_4_sub_1);
		manager_donators = findViewById(R.id.manager_donators);
		donators = findViewById(R.id.donators);
		about_separator = findViewById(R.id.about_separator);
		manager_lang_13 = findViewById(R.id.manager_lang_13);
		translator_13 = findViewById(R.id.translator_13);
		manager_lang_1 = findViewById(R.id.manager_lang_1);
		translator_1 = findViewById(R.id.translator_1);
		manager_lang_2 = findViewById(R.id.manager_lang_2);
		translator_2 = findViewById(R.id.translator_2);
		manager_lang_3 = findViewById(R.id.manager_lang_3);
		translator_3 = findViewById(R.id.translator_3);
		manager_lang_4 = findViewById(R.id.manager_lang_4);
		translator_4 = findViewById(R.id.translator_4);
		manager_lang_5 = findViewById(R.id.manager_lang_5);
		translator_5 = findViewById(R.id.translator_5);
		manager_lang_6 = findViewById(R.id.manager_lang_6);
		translator_6 = findViewById(R.id.translator_6);
		manager_lang_7 = findViewById(R.id.manager_lang_7);
		translator_7 = findViewById(R.id.translator_7);
		manager_lang_8 = findViewById(R.id.manager_lang_8);
		translator_8 = findViewById(R.id.translator_8);
		manager_lang_15 = findViewById(R.id.manager_lang_15);
		translator_15 = findViewById(R.id.translator_15);
		manager_lang_9 = findViewById(R.id.manager_lang_9);
		translator_9 = findViewById(R.id.translator_9);
		manager_lang_14 = findViewById(R.id.manager_lang_14);
		translator_14 = findViewById(R.id.translator_14);
		manager_lang_10 = findViewById(R.id.manager_lang_10);
		translator_10 = findViewById(R.id.translator_10);
		manager_lang_12 = findViewById(R.id.manager_lang_12);
		translator_12 = findViewById(R.id.translator_12);
		manager_lang_11 = findViewById(R.id.manager_lang_11);
		translator_11 = findViewById(R.id.translator_11);
		manager_lang_16 = findViewById(R.id.manager_lang_16);
		translator_16 = findViewById(R.id.translator_16);
		manager_lang_17 = findViewById(R.id.manager_lang_17);
		translator_17 = findViewById(R.id.translator_17);
		manager_lang_18 = findViewById(R.id.manager_lang_18);
		translator_18 = findViewById(R.id.translator_18);
		manager_lang_19 = findViewById(R.id.manager_lang_19);
		translator_19 = findViewById(R.id.translator_19);
		manager_lang_20 = findViewById(R.id.manager_lang_20);
		translator_20 = findViewById(R.id.translator_20);
		manager_lang_21 = findViewById(R.id.manager_lang_21);
		translator_21 = findViewById(R.id.translator_21);
		manager_lang_22 = findViewById(R.id.manager_lang_22);
		translator_22 = findViewById(R.id.translator_22);
		manager_lang_23 = findViewById(R.id.manager_lang_23);
		translator_23 = findViewById(R.id.translator_23);
		main_scroll_body = findViewById(R.id.main_scroll_body);
		main_body = findViewById(R.id.main_body);
		main_box_1 = findViewById(R.id.main_box_1);
		main_box_2 = findViewById(R.id.main_box_2);
		main_box_6 = findViewById(R.id.main_box_6);
		box_sub_header = findViewById(R.id.box_sub_header);
		main_box_4 = findViewById(R.id.main_box_4);
		main_box_15 = findViewById(R.id.main_box_15);
		box_1 = findViewById(R.id.box_1);
		box_2 = findViewById(R.id.box_2);
		box_separator_1 = findViewById(R.id.box_separator_1);
		box_5 = findViewById(R.id.box_5);
		list_menu_1 = findViewById(R.id.list_menu_1);
		list_menu_3 = findViewById(R.id.list_menu_3);
		title_1 = findViewById(R.id.title_1);
		box_1_sub = findViewById(R.id.box_1_sub);
		regular_info = findViewById(R.id.regular_info);
		sub_text_1 = findViewById(R.id.sub_text_1);
		box_switch_1 = findViewById(R.id.box_switch_1);
		sub_1 = findViewById(R.id.sub_1);
		sub_5 = findViewById(R.id.sub_5);
		version_switch_1 = findViewById(R.id.version_switch_1);
		box_sub_5 = findViewById(R.id.box_sub_5);
		version_switch_01 = findViewById(R.id.version_switch_01);
		box_3 = findViewById(R.id.box_3);
		box_4 = findViewById(R.id.box_4);
		box_separator_2 = findViewById(R.id.box_separator_2);
		box_6 = findViewById(R.id.box_6);
		list_menu_2 = findViewById(R.id.list_menu_2);
		list_menu_4 = findViewById(R.id.list_menu_4);
		title_2 = findViewById(R.id.title_2);
		box_3_sub = findViewById(R.id.box_3_sub);
		amoled_info = findViewById(R.id.amoled_info);
		sub_text_3 = findViewById(R.id.sub_text_3);
		box_switch_2 = findViewById(R.id.box_switch_2);
		sub_3 = findViewById(R.id.sub_3);
		sub_7 = findViewById(R.id.sub_7);
		version_switch_2 = findViewById(R.id.version_switch_2);
		box_sub_6 = findViewById(R.id.box_sub_6);
		version_switch_02 = findViewById(R.id.version_switch_02);
		box_6_sub_1 = findViewById(R.id.box_6_sub_1);
		box_separator_3 = findViewById(R.id.box_separator_3);
		box_6_sub_2 = findViewById(R.id.box_6_sub_2);
		box_separator_4 = findViewById(R.id.box_separator_4);
		box_6_sub_3 = findViewById(R.id.box_6_sub_3);
		list_changelogs = findViewById(R.id.list_changelogs);
		device_cpu = findViewById(R.id.device_cpu);
		box_cpu = findViewById(R.id.box_cpu);
		cpu = findViewById(R.id.cpu);
		sub_text_installed = findViewById(R.id.sub_text_installed);
		box_installed = findViewById(R.id.box_installed);
		sub_installed = findViewById(R.id.sub_installed);
		sub_separator = findViewById(R.id.sub_separator);
		sub_installed_c = findViewById(R.id.sub_installed_c);
		changelogs = findViewById(R.id.changelogs);
		box_changelogs = findViewById(R.id.box_changelogs);
		changelogs_switch = findViewById(R.id.changelogs_switch);
		box_sub_1 = findViewById(R.id.box_sub_1);
		box_sub_2 = findViewById(R.id.box_sub_2);
		title_sub = findViewById(R.id.title_sub);
		box_uninstall = findViewById(R.id.box_uninstall);
		box_settings = findViewById(R.id.box_settings);
		box_cache = findViewById(R.id.box_cache);
		box_open = findViewById(R.id.box_open);
		icon_uninstall = findViewById(R.id.icon_uninstall);
		icon_settings = findViewById(R.id.icon_settings);
		icon_cache = findViewById(R.id.icon_cache);
		icon_open = findViewById(R.id.icon_open);
		box_support = findViewById(R.id.box_support);
		box_reddit = findViewById(R.id.box_reddit);
		box_donate = findViewById(R.id.box_donate);
		box_about = findViewById(R.id.box_about);
		support = findViewById(R.id.support);
		icon_support = findViewById(R.id.icon_support);
		reddit = findViewById(R.id.reddit);
		icon_reddit = findViewById(R.id.icon_reddit);
		donate = findViewById(R.id.donate);
		icon_donate = findViewById(R.id.icon_donate);
		about = findViewById(R.id.about);
		icon_about = findViewById(R.id.icon_about);
		box_discord = findViewById(R.id.box_discord);
		box_source = findViewById(R.id.box_source);
		box_website = findViewById(R.id.box_website);
		box_faq = findViewById(R.id.box_faq);
		discord = findViewById(R.id.discord);
		icon_discord = findViewById(R.id.icon_discord);
		source = findViewById(R.id.source);
		icon_source = findViewById(R.id.icon_source);
		website = findViewById(R.id.website);
		icon_website = findViewById(R.id.icon_website);
		faq = findViewById(R.id.faq);
		icon_faq = findViewById(R.id.icon_faq);
		ON_SCREEN = getSharedPreferences("ON_SCREEN", Activity.MODE_PRIVATE);
		THEME = getSharedPreferences("THEME", Activity.MODE_PRIVATE);
		DESC_X = getSharedPreferences("DESC_X", Activity.MODE_PRIVATE);
		Connection = new RequestNetwork(this);
		NAVIGATION_BAR = getSharedPreferences("NAVIGATION_BAR", Activity.MODE_PRIVATE);
		LIST_REFRESH = getSharedPreferences("LIST_REFRESH", Activity.MODE_PRIVATE);
		APK_PATH = getSharedPreferences("APK_PATH", Activity.MODE_PRIVATE);
		FORCE_INSTALL = getSharedPreferences("FORCE_INSTALL", Activity.MODE_PRIVATE);
		FORCE_INSTALL_UPDATE = getSharedPreferences("FORCE_INSTALL_UPDATE", Activity.MODE_PRIVATE);
		COPY_URL_MODE = getSharedPreferences("COPY_URL_MODE", Activity.MODE_PRIVATE);
		LANGUAGE = getSharedPreferences("LANGUAGE", Activity.MODE_PRIVATE);
		CLONED_VERSION = getSharedPreferences("CLONED_VERSION", Activity.MODE_PRIVATE);
		DISABLE_REWARD_AD = getSharedPreferences("DISABLE_REWARD_AD", Activity.MODE_PRIVATE);
		DOWNLOAD = getSharedPreferences("DOWNLOAD", Activity.MODE_PRIVATE);
		AD_UNIT = getSharedPreferences("AD_UNIT", Activity.MODE_PRIVATE);
		
		box_switch.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				RippleAnimation.create(box_switch).setDuration((long)1000).start();
				main_body_optimization.setVisibility(View.GONE);
				main_scroll_settings.setVisibility(View.VISIBLE);
				main_scroll_about.setVisibility(View.GONE);
				main_refresh_layout.setVisibility(View.GONE);
				box_update.setVisibility(View.GONE);
				box_switch.setVisibility(View.GONE);
				apk_path_location.setEnabled(true);
				title_header.setText(settings_title.getText().toString());
				title_header_beta.setTextColor(Color.TRANSPARENT);
				title_header_separator.setTextColor(Color.TRANSPARENT);
				_Tap_Animation(box_switch);
				CLOSER_2 = 1;
				_External_Storage();
				_Animation_1();
			}
		});
		
		box_update.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				try {
					if (CHECK == 0) {
						CHECK = 1;
						Timer = new TimerTask() {
							@Override
							public void run() {
								runOnUiThread(new Runnable() {
									@Override
									public void run() {
										CHECK = 0;
									}
								});
							}
						};
						_timer.schedule(Timer, (int)(2000));
						if (!SketchwareUtil.isConnected(getApplicationContext())) {
							com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Slow or No Internet Connection. Try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
						}
						else {
							if (Latest_Version > Current_Version) {
								com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Checking Updates...", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
								Timer = new TimerTask() {
									@Override
									public void run() {
										runOnUiThread(new Runnable() {
											@Override
											public void run() {
												try {
													final AlertDialog.Builder Update_Authorized = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
													
													String Title = "<b>".concat(new_update.getText().toString().concat("</b>"));
													String TitleColor = "1DB954";
													
													Update_Authorized.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
													String Message = "What's New (Version ".concat(String.valueOf(Latest_Version).concat("):<br/><br/>".concat(app_changelogs.getText().toString().replace("\n", "<br/>"))));
													String MessageColor = "FFFFFF";
													
													Update_Authorized.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
													Update_Authorized.setPositiveButton(download_update.getText().toString(), new DialogInterface.OnClickListener(){
														
														                @Override
														                public void onClick(DialogInterface Update_Authorized, int p) {
															AlertDialog.setCancelable(true);
															try {
																if (FORCE_INSTALL_UPDATE.getString("FORCE_INSTALL_UPDATE", "").equals("XX")) {
																	_Download_Update_Install(hidden_update.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Update/");
																}
																else {
																	if (FORCE_INSTALL_UPDATE.getString("FORCE_INSTALL_UPDATE", "").equals("YY")) {
																		_Download_Update(hidden_update.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Update/");
																	}
																}
															}
															catch(Exception e) {
															}
															_Update_Remover();
															Timer = new TimerTask() {
																@Override
																public void run() {
																	runOnUiThread(new Runnable() {
																		@Override
																		public void run() {
																			_Hide_Navigation();
																		}
																	});
																}
															};
															_timer.schedule(Timer, (int)(100));
															                }
														            });
													 Update_Authorized.setNeutralButton(not_now.getText().toString(), new DialogInterface.OnClickListener(){
														
														                @Override
														                public void onClick(DialogInterface Update_Authorized, int p) {
															AlertDialog.setCancelable(true);
															Timer = new TimerTask() {
																@Override
																public void run() {
																	runOnUiThread(new Runnable() {
																		@Override
																		public void run() {
																			_Hide_Navigation();
																		}
																	});
																}
															};
															_timer.schedule(Timer, (int)(100));
															                }
														            });
													AlertDialog = Update_Authorized.create();
													AlertDialog.setCancelable(false);
													AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
													AlertDialog.show();
												}
												catch(Exception e) {
												}
											}
										});
									}
								};
								_timer.schedule(Timer, (int)(2800));
							}
							else {
								if (Latest_Version == Current_Version) {
									com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Checking Updates...", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
									Timer = new TimerTask() {
										@Override
										public void run() {
											runOnUiThread(new Runnable() {
												@Override
												public void run() {
													try {
														final AlertDialog.Builder Update_Latest = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
														
														String Title = "<b>".concat("xManager v".concat(local_version.getText().toString().concat(" (Latest)")).concat("</b>"));
														String TitleColor = "1DB954";
														
														Update_Latest.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
														String Message = app_changelogs.getText().toString().replace("\n", "<br/>");
														String MessageColor = "FFFFFF";
														
														Update_Latest.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
														AlertDialog = Update_Latest.create();
														AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
														AlertDialog.show();
														Timer = new TimerTask() {
															@Override
															public void run() {
																runOnUiThread(new Runnable() {
																	@Override
																	public void run() {
																		_Hide_Navigation();
																	}
																});
															}
														};
														_timer.schedule(Timer, (int)(100));
													}
													catch(Exception e) {
													}
												}
											});
										}
									};
									_timer.schedule(Timer, (int)(2800));
								}
							}
						}
					}
					_Tap_Animation(box_update);
				}
				catch(Exception e) {
				}
			}
		});
		
		main_box_10.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/") && (FileUtil.isExistFile("/storage/emulated/0/xManager/") && FileUtil.isExistFile(apk_path_location.getText().toString()))) {
					FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/");
					FileUtil.deleteFile("/storage/emulated/0/xManager/");
					FileUtil.deleteFile(apk_path_location.getText().toString());
				}
				else {
					if (!(FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/") && (FileUtil.isExistFile("/storage/emulated/0/xManager/") && FileUtil.isExistFile(apk_path_location.getText().toString())))) {
						
					}
				}
				if (DELETE == 1) {
					com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Successfully deleted", com.google.android.material.snackbar.Snackbar.LENGTH_SHORT).setAction("", new View.OnClickListener(){
						@Override
						public void onClick(View _view) {
							 
						}
					}).show();
				}
				else {
					if (DELETE == 0) {
						com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Directory folders not found or deleted", com.google.android.material.snackbar.Snackbar.LENGTH_SHORT).setAction("", new View.OnClickListener(){
							@Override
							public void onClick(View _view) {
								 
							}
						}).show();
					}
				}
				_Tap_Animation(main_box_10);
				DELETE = 0;
			}
		});
		
		box_settings_icon_close.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				RippleAnimation.create(box_settings_icon_close).setDuration((long)1000).start();
				main_body_optimization.setVisibility(View.GONE);
				main_scroll_settings.setVisibility(View.GONE);
				main_scroll_about.setVisibility(View.GONE);
				main_refresh_layout.setVisibility(View.VISIBLE);
				box_update.setVisibility(View.VISIBLE);
				box_switch.setVisibility(View.VISIBLE);
				apk_path_location.setEnabled(false);
				title_header.setText(main_title.getText().toString());
				title_header_beta.setTextColor(0xFFFFFFFF);
				title_header_separator.setTextColor(0xFFFFFFFF);
				Animation header_beta;
				header_beta = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
				header_beta.setDuration(200); title_header_beta.startAnimation(header_beta);
				header_beta = null;
				_Tap_Animation(box_settings_icon_close);
				CLOSER_2 = 0;
				_Animation_0();
				_Url_Mode();
			}
		});
		
		cloned_version_switch.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton _param1, boolean _param2) {
				final boolean _isChecked = _param2;
				if (_isChecked) {
					CLONED_VERSION.edit().putString("CLONED", "ON").commit();
					regular_info.setText("Unlimited skips, play on-demand, ad-free and new features but in CLONED VERSION!");
					amoled_info.setText("Same features as regular combined with amoled black theme but in CLONED VERSION!");
					regular_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 2);
					amoled_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 2);
					regular_info.setTextSize((int)11);
					amoled_info.setTextSize((int)11);
					sub_1.setVisibility(View.GONE);
					sub_3.setVisibility(View.GONE);
					sub_5.setVisibility(View.VISIBLE);
					sub_7.setVisibility(View.VISIBLE);
					version_switch_01.setChecked(false);
					version_switch_02.setChecked(false);
				}
				else {
					CLONED_VERSION.edit().putString("CLONED", "OFF").commit();
					regular_info.setText("Unlimited skips, play on-demand, ad-free and new features!");
					amoled_info.setText("Same features as regular but in amoled black version!");
					regular_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 2);
					amoled_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 2);
					regular_info.setTextSize((int)11);
					amoled_info.setTextSize((int)11);
					sub_1.setVisibility(View.VISIBLE);
					sub_3.setVisibility(View.VISIBLE);
					sub_5.setVisibility(View.GONE);
					sub_7.setVisibility(View.GONE);
					version_switch_01.setChecked(false);
					version_switch_02.setChecked(false);
				}
				COUNTER = 1;
			}
		});
		
		list_auto_refresh_switch.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton _param1, boolean _param2) {
				final boolean _isChecked = _param2;
				if (_isChecked) {
					LIST_REFRESH.edit().putString("UPDATE", "ON").commit();
				}
				else {
					LIST_REFRESH.edit().putString("UPDATE", "OFF").commit();
				}
				COUNTER = 1;
			}
		});
		
		force_auto_install_switch.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton _param1, boolean _param2) {
				final boolean _isChecked = _param2;
				if (_isChecked) {
					FORCE_INSTALL.edit().putString("FORCE_INSTALL", "X").commit();
					FORCE_INSTALL_UPDATE.edit().putString("FORCE_INSTALL_UPDATE", "XX").commit();
					copy_url_mode_switch.setChecked(false);
				}
				else {
					FORCE_INSTALL.edit().putString("FORCE_INSTALL", "Y").commit();
					FORCE_INSTALL_UPDATE.edit().putString("FORCE_INSTALL_UPDATE", "YY").commit();
				}
				COUNTER = 1;
			}
		});
		
		copy_url_mode_switch.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton _param1, boolean _param2) {
				final boolean _isChecked = _param2;
				if (_isChecked) {
					COPY_URL_MODE.edit().putString("COPY_URL_MODE", "URL_ON").commit();
					force_auto_install_switch.setChecked(false);
				}
				else {
					COPY_URL_MODE.edit().putString("COPY_URL_MODE", "URL_OFF").commit();
				}
				COUNTER = 1;
			}
		});
		
		disable_reward_ad_switch.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton _param1, boolean _param2) {
				final boolean _isChecked = _param2;
				if (_isChecked) {
					DISABLE_REWARD_AD.edit().putString("REWARD_AD", "ON").commit();
				}
				else {
					DISABLE_REWARD_AD.edit().putString("REWARD_AD", "OFF").commit();
				}
				COUNTER = 1;
			}
		});
		
		navigation_switch.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton _param1, boolean _param2) {
				final boolean _isChecked = _param2;
				if (_isChecked) {
					NAVIGATION_BAR.edit().putString("NAVIGATION", "1").commit();
					getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);
				}
				else {
					NAVIGATION_BAR.edit().putString("NAVIGATION", "0").commit();
					getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
					
					if (Build.VERSION.SDK_INT >= 21) {
						getWindow().setNavigationBarColor(Color.parseColor("#212121"));
					}
				}
				COUNTER = 1;
			}
		});
		
		select_theme.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
			@Override
			public void onItemSelected(AdapterView<?> _param1, View _param2, int _param3, long _param4) {
				final int _position = _param3;
				if (_position == 0) {
					THEME.edit().putString("THEME", "0").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF000000}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF000000}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF000000}));
					COUNTER = 1;
				}
				if (_position == 1) {
					THEME.edit().putString("THEME", "1").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF1DB954}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF1DB954}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF1DB954}));
					COUNTER = 1;
				}
				if (_position == 2) {
					THEME.edit().putString("THEME", "2").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFAA00FF}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFAA00FF}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFAA00FF}));
					COUNTER = 1;
				}
				if (_position == 3) {
					THEME.edit().putString("THEME", "3").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFD50000}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFD50000}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFD50000}));
					COUNTER = 1;
				}
				if (_position == 4) {
					THEME.edit().putString("THEME", "4").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF2962FF}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF2962FF}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF2962FF}));
					COUNTER = 1;
				}
				if (_position == 5) {
					THEME.edit().putString("THEME", "5").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFF6D00}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFF6D00}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFF6D00}));
					COUNTER = 1;
				}
				if (_position == 6) {
					THEME.edit().putString("THEME", "6").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFFD600}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFFD600}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFFD600}));
					COUNTER = 1;
				}
				if (_position == 7) {
					THEME.edit().putString("THEME", "7").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF616161}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF616161}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF616161}));
					COUNTER = 1;
				}
				if (_position == 8) {
					THEME.edit().putString("THEME", "8").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF607D8B}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF607D8B}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF607D8B}));
					COUNTER = 1;
				}
				if (_position == 9) {
					THEME.edit().putString("THEME", "9").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFE91E63}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFE91E63}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFE91E63}));
					COUNTER = 1;
				}
				if (_position == 10) {
					THEME.edit().putString("THEME", "10").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF00BCD4}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF00BCD4}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF00BCD4}));
					COUNTER = 1;
				}
				if (_position == 11) {
					THEME.edit().putString("THEME", "11").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFFFFFF}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFFFFFF}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFFFFFF}));
					COUNTER = 1;
				}
				if (_position == 12) {
					THEME.edit().putString("THEME", "12").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF795548}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF795548}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF795548}));
					COUNTER = 1;
				}
				if (_position == 13) {
					THEME.edit().putString("THEME", "13").commit();
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF3F51B5}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF3F51B5}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF3F51B5}));
					COUNTER = 1;
				}
			}
			
			@Override
			public void onNothingSelected(AdapterView<?> _param1) {
				
			}
		});
		
		select_language.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
			@Override
			public void onItemSelected(AdapterView<?> _param1, View _param2, int _param3, long _param4) {
				final int _position = _param3;
				if (_position == 0) {
					LANGUAGE.edit().putString("LANGUAGE", "0").commit();
					    title_1.setText(R.string.spotify_regular);
						title_2.setText(R.string.spotify_amoled);
						sub_text_installed.setText(R.string.installed);
						sub_text_1.setText(R.string.latest);
						sub_text_3.setText(R.string.latest);
						version_switch_1.setText(R.string.versions);
						version_switch_2.setText(R.string.versions);
						changelogs.setText(R.string.changelogs);
						title_sub.setText(R.string.manager_tools);
						device_cpu.setText(R.string.device_cpu);
						source.setText(R.string.source);
						support.setText(R.string.support);
						donate.setText(R.string.donate);
						about.setText(R.string.about);
						list_auto_refresh.setText(R.string.list_auto_refresh);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc);
						force_auto_install.setText(R.string.force_auto_install);
						force_auto_install_info.setText(R.string.force_auto_install_desc);
						copy_url_mode.setText(R.string.copy_url_mode);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc);
						navigation_bar.setText(R.string.hide_navigation_bar);
						theme.setText(R.string.show_themes);
						apk_location.setText(R.string.apk_location);
						apk_location_info.setText(R.string.apk_location_desc);
						clear_directory_folders.setText(R.string.clear_directory_folders);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc);
						reset_settings.setText(R.string.reset_settings);
						sub_title.setText(R.string.about_sub);
						developer_manager.setText(R.string.xmanager_dev);
						developer_spotify.setText(R.string.spotify_mod_devs);
						support_team.setText(R.string.telegram_support_team);
						mod_testers_1.setText(R.string.manager_testers);
						mod_testers_2.setText(R.string.manager_hosting);
						mobilism_team.setText(R.string.mobilism_team);
						forum_team.setText(R.string.forum_team);
						manager_team.setText(R.string.xspotify_team);
						contributors_1.setText(R.string.contributors);
						download_selected.setText(R.string.download_selected);
						download_ready.setText(R.string.download_ready);
						download_ready_desc.setText(R.string.download_ready_desc);
						downloading_file.setText(R.string.downloading_file);
						download_success.setText(R.string.download_success);
						copy_url_desc.setText(R.string.copy_url_desc);
						new_update.setText(R.string.new_update);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url);
						continue_1.setText(R.string.continue_1);
						cancel.setText(R.string.cancel);
						download.setText(R.string.download);
						later.setText(R.string.later);
						install_now.setText(R.string.install_now);
						install_update.setText(R.string.install_update);
						go_back.setText(R.string.go_back_01);
						download_update.setText(R.string.download_update);
						not_now.setText(R.string.not_now);
						show_support.setText(R.string.show_support);
						show_support_desc.setText(R.string.show_support_desc);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title);
						settings_title.setText(R.string.settings_title);
						about_title.setText(R.string.about_title);
						maintenance.setText(R.string.maintenance);
						maintenance_desc.setText(R.string.maintenance_desc);
						thanks.setText(R.string.thanks);
						language.setText(R.string.language);
						website.setText(R.string.website);
						discord.setText(R.string.discord);
						reddit.setText(R.string.reddit);
						faq.setText(R.string.faq);
						cloned_version.setText(R.string.cloned_version);
						cloned_version_info.setText(R.string.cloned_version_desc);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc);
					    installation_failed.setText(R.string.installation_failed);
					    installation_failed_desc.setText(R.string.installation_failed_desc);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc);
					    existing_patched.setText(R.string.existing_patched);
					    existing_patched_desc.setText(R.string.existing_patched_desc);
					    close.setText(R.string.close);
					    cloned.setText(R.string.cloned);
					    ream.setText(R.string.ream);
					    install.setText(R.string.install);
					    uninstall.setText(R.string.uninstall);
					    ignore.setText(R.string.ignore);
					    delete.setText(R.string.delete);
					    uninstall_patched.setText(R.string.uninstall_patched);
					    open_settings.setText(R.string.open_settings);
					    open_patched.setText(R.string.open_patched);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();

					COUNTER = 1;
				}
				if (_position == 1) {
					LANGUAGE.edit().putString("LANGUAGE", "1").commit();
					    title_1.setText(R.string.spotify_regular_01);
						title_2.setText(R.string.spotify_amoled_01);
						sub_text_installed.setText(R.string.installed_01);
						sub_text_1.setText(R.string.latest_01);
						sub_text_3.setText(R.string.latest_01);
						version_switch_1.setText(R.string.versions_01);
						version_switch_2.setText(R.string.versions_01);
						changelogs.setText(R.string.changelogs_01);
						title_sub.setText(R.string.manager_tools_01);
						device_cpu.setText(R.string.device_cpu_01);
						source.setText(R.string.source_01);
						support.setText(R.string.support_01);
						donate.setText(R.string.donate_01);
						about.setText(R.string.about_01);
						list_auto_refresh.setText(R.string.list_auto_refresh_01);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_01);
						force_auto_install.setText(R.string.force_auto_install_01);
						force_auto_install_info.setText(R.string.force_auto_install_desc_01);
						copy_url_mode.setText(R.string.copy_url_mode_01);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_01);
						navigation_bar.setText(R.string.hide_navigation_bar_01);
						theme.setText(R.string.show_themes_01);
						apk_location.setText(R.string.apk_location_01);
						apk_location_info.setText(R.string.apk_location_desc_01);
						clear_directory_folders.setText(R.string.clear_directory_folders_01);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_01);
						reset_settings.setText(R.string.reset_settings_01);
						sub_title.setText(R.string.about_sub_01);
						developer_manager.setText(R.string.xmanager_dev_01);
						developer_spotify.setText(R.string.spotify_mod_devs_01);
						support_team.setText(R.string.telegram_support_team_01);
						mod_testers_1.setText(R.string.manager_testers_01);
						mod_testers_2.setText(R.string.manager_hosting_01);
						mobilism_team.setText(R.string.mobilism_team_01);
						forum_team.setText(R.string.forum_team_01);
						manager_team.setText(R.string.xspotify_team_01);
						contributors_1.setText(R.string.contributors_01);
						download_selected.setText(R.string.download_selected_01);
						download_ready.setText(R.string.download_ready_01);
						download_ready_desc.setText(R.string.download_ready_desc_01);
						downloading_file.setText(R.string.downloading_file_01);
						download_success.setText(R.string.download_success_01);
						copy_url_desc.setText(R.string.copy_url_desc_01);
						new_update.setText(R.string.new_update_01);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_01);
						continue_1.setText(R.string.continue_1_01);
						cancel.setText(R.string.cancel_01);
						download.setText(R.string.download_01);
						later.setText(R.string.later_01);
						install_now.setText(R.string.install_now_01);
						install_update.setText(R.string.install_update_01);
						go_back.setText(R.string.go_back_01);
						download_update.setText(R.string.download_update_01);
						not_now.setText(R.string.not_now_01);
						show_support.setText(R.string.show_support_01);
						show_support_desc.setText(R.string.show_support_desc_01);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_01);
						settings_title.setText(R.string.settings_title_01);
						about_title.setText(R.string.about_title_01);
						maintenance.setText(R.string.maintenance_01);
						maintenance_desc.setText(R.string.maintenance_desc_01);
						thanks.setText(R.string.thanks_01);
						language.setText(R.string.language_01);
						website.setText(R.string.website_01);
						discord.setText(R.string.discord_01);
						reddit.setText(R.string.reddit_01);
						faq.setText(R.string.faq_01);
						cloned_version.setText(R.string.cloned_version_01);
						cloned_version_info.setText(R.string.cloned_version_desc_01);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_01);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_01);
					    installation_failed.setText(R.string.installation_failed_01);
					    installation_failed_desc.setText(R.string.installation_failed_desc_01);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_01);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_01);
					    existing_patched.setText(R.string.existing_patched_01);
					    existing_patched_desc.setText(R.string.existing_patched_desc_01);
					    close.setText(R.string.close_01);
					    cloned.setText(R.string.cloned_01);
					    ream.setText(R.string.ream_01);
					    install.setText(R.string.install_01);
					    uninstall.setText(R.string.uninstall_01);
					    ignore.setText(R.string.ignore_01);
					    delete.setText(R.string.delete_01);
					    uninstall_patched.setText(R.string.uninstall_patched_01);
					    open_settings.setText(R.string.open_settings_01);
					    open_patched.setText(R.string.open_patched_01);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();

					COUNTER = 1;
				}
				if (_position == 2) {
					LANGUAGE.edit().putString("LANGUAGE", "2").commit();
					    title_1.setText(R.string.spotify_regular_02);
						title_2.setText(R.string.spotify_amoled_02);
						sub_text_installed.setText(R.string.installed_02);
						sub_text_1.setText(R.string.latest_02);
						sub_text_3.setText(R.string.latest_02);
						version_switch_1.setText(R.string.versions_02);
						version_switch_2.setText(R.string.versions_02);
						changelogs.setText(R.string.changelogs_02);
						title_sub.setText(R.string.manager_tools_02);
						device_cpu.setText(R.string.device_cpu_02);
						source.setText(R.string.source_02);
						support.setText(R.string.support_02);
						donate.setText(R.string.donate_02);
						about.setText(R.string.about_02);
						list_auto_refresh.setText(R.string.list_auto_refresh_02);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_02);
						force_auto_install.setText(R.string.force_auto_install_02);
						force_auto_install_info.setText(R.string.force_auto_install_desc_02);
						copy_url_mode.setText(R.string.copy_url_mode_02);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_02);
						navigation_bar.setText(R.string.hide_navigation_bar_02);
						theme.setText(R.string.show_themes_02);
						apk_location.setText(R.string.apk_location_02);
						apk_location_info.setText(R.string.apk_location_desc_02);
						clear_directory_folders.setText(R.string.clear_directory_folders_02);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_02);
						reset_settings.setText(R.string.reset_settings_02);
						sub_title.setText(R.string.about_sub_02);
						developer_manager.setText(R.string.xmanager_dev_02);
						developer_spotify.setText(R.string.spotify_mod_devs_02);
						support_team.setText(R.string.telegram_support_team_02);
						mod_testers_1.setText(R.string.manager_testers_02);
						mod_testers_2.setText(R.string.manager_hosting_02);
						mobilism_team.setText(R.string.mobilism_team_02);
						forum_team.setText(R.string.forum_team_02);
						manager_team.setText(R.string.xspotify_team_02);
						contributors_1.setText(R.string.contributors_02);
						download_selected.setText(R.string.download_selected_02);
						download_ready.setText(R.string.download_ready_02);
						download_ready_desc.setText(R.string.download_ready_desc_02);
						downloading_file.setText(R.string.downloading_file_02);
						download_success.setText(R.string.download_success_02);
						copy_url_desc.setText(R.string.copy_url_desc_02);
						new_update.setText(R.string.new_update_02);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_02);
						continue_1.setText(R.string.continue_1_02);
						cancel.setText(R.string.cancel_02);
						download.setText(R.string.download_02);
						later.setText(R.string.later_02);
						install_now.setText(R.string.install_now_02);
						install_update.setText(R.string.install_update_02);
						go_back.setText(R.string.go_back_02);
						download_update.setText(R.string.download_update_02);
						not_now.setText(R.string.not_now_02);
						show_support.setText(R.string.show_support_02);
						show_support_desc.setText(R.string.show_support_desc_02);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_02);
						settings_title.setText(R.string.settings_title_02);
						about_title.setText(R.string.about_title_02);
						maintenance.setText(R.string.maintenance_02);
						maintenance_desc.setText(R.string.maintenance_desc_02);
						thanks.setText(R.string.thanks_02);
						language.setText(R.string.language_02);
						website.setText(R.string.website_02);
						discord.setText(R.string.discord_02);
						reddit.setText(R.string.reddit_02);
						faq.setText(R.string.faq_02);
						cloned_version.setText(R.string.cloned_version_02);
						cloned_version_info.setText(R.string.cloned_version_desc_02);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_02);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_02);
					    installation_failed.setText(R.string.installation_failed_02);
					    installation_failed_desc.setText(R.string.installation_failed_desc_02);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_02);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_02);
					    existing_patched.setText(R.string.existing_patched_02);
					    existing_patched_desc.setText(R.string.existing_patched_desc_02);
					    close.setText(R.string.close_02);
					    cloned.setText(R.string.cloned_02);
					    ream.setText(R.string.ream_02);
					    install.setText(R.string.install_02);
					    uninstall.setText(R.string.uninstall_02);
					    ignore.setText(R.string.ignore_02);
					    delete.setText(R.string.delete_02);
					    uninstall_patched.setText(R.string.uninstall_patched_02);
					    open_settings.setText(R.string.open_settings_02);
					    open_patched.setText(R.string.open_patched_02);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 3) {
					LANGUAGE.edit().putString("LANGUAGE", "3").commit();
					    title_1.setText(R.string.spotify_regular_03);
						title_2.setText(R.string.spotify_amoled_03);
						sub_text_installed.setText(R.string.installed_03);
						sub_text_1.setText(R.string.latest_03);
						sub_text_3.setText(R.string.latest_03);
						version_switch_1.setText(R.string.versions_03);
						version_switch_2.setText(R.string.versions_03);
						changelogs.setText(R.string.changelogs_03);
						title_sub.setText(R.string.manager_tools_03);
						device_cpu.setText(R.string.device_cpu_03);
						source.setText(R.string.source_03);
						support.setText(R.string.support_03);
						donate.setText(R.string.donate_03);
						about.setText(R.string.about_03);
						list_auto_refresh.setText(R.string.list_auto_refresh_03);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_03);
						force_auto_install.setText(R.string.force_auto_install_03);
						force_auto_install_info.setText(R.string.force_auto_install_desc_03);
						copy_url_mode.setText(R.string.copy_url_mode_03);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_03);
						navigation_bar.setText(R.string.hide_navigation_bar_03);
						theme.setText(R.string.show_themes_03);
						apk_location.setText(R.string.apk_location_03);
						apk_location_info.setText(R.string.apk_location_desc_03);
						clear_directory_folders.setText(R.string.clear_directory_folders_03);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_03);
						reset_settings.setText(R.string.reset_settings_03);
						sub_title.setText(R.string.about_sub_03);
						developer_manager.setText(R.string.xmanager_dev_03);
						developer_spotify.setText(R.string.spotify_mod_devs_03);
						support_team.setText(R.string.telegram_support_team_03);
						mod_testers_1.setText(R.string.manager_testers_03);
						mod_testers_2.setText(R.string.manager_hosting_03);
						mobilism_team.setText(R.string.mobilism_team_03);
						forum_team.setText(R.string.forum_team_03);
						manager_team.setText(R.string.xspotify_team_03);
						contributors_1.setText(R.string.contributors_03);
						download_selected.setText(R.string.download_selected_03);
						download_ready.setText(R.string.download_ready_03);
						download_ready_desc.setText(R.string.download_ready_desc_03);
						downloading_file.setText(R.string.downloading_file_03);
						download_success.setText(R.string.download_success_03);
						copy_url_desc.setText(R.string.copy_url_desc_03);
						new_update.setText(R.string.new_update_03);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_03);
						continue_1.setText(R.string.continue_1_03);
						cancel.setText(R.string.cancel_03);
						download.setText(R.string.download_03);
						later.setText(R.string.later_03);
						install_now.setText(R.string.install_now_03);
						install_update.setText(R.string.install_update_03);
						go_back.setText(R.string.go_back_03);
						download_update.setText(R.string.download_update_03);
						not_now.setText(R.string.not_now_03);
						show_support.setText(R.string.show_support_03);
						show_support_desc.setText(R.string.show_support_desc_03);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_03);
						settings_title.setText(R.string.settings_title_03);
						about_title.setText(R.string.about_title_03);
						maintenance.setText(R.string.maintenance_03);
						maintenance_desc.setText(R.string.maintenance_desc_03);
						thanks.setText(R.string.thanks_03);
						language.setText(R.string.language_03);
						website.setText(R.string.website_03);
						discord.setText(R.string.discord_03);
						reddit.setText(R.string.reddit_03);
						faq.setText(R.string.faq_03);
						cloned_version.setText(R.string.cloned_version_03);
						cloned_version_info.setText(R.string.cloned_version_desc_03);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_03);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_03);
					    installation_failed.setText(R.string.installation_failed_03);
					    installation_failed_desc.setText(R.string.installation_failed_desc_03);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_03);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_03);
					    existing_patched.setText(R.string.existing_patched_03);
					    existing_patched_desc.setText(R.string.existing_patched_desc_03);
					    close.setText(R.string.close_03);
					    cloned.setText(R.string.cloned_03);
					    ream.setText(R.string.ream_03);
					    install.setText(R.string.install_03);
					    uninstall.setText(R.string.uninstall_03);
					    ignore.setText(R.string.ignore_03);
					    delete.setText(R.string.delete_03);
					    uninstall_patched.setText(R.string.uninstall_patched_03);
					    open_settings.setText(R.string.open_settings_03);
					    open_patched.setText(R.string.open_patched_03);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 4) {
					LANGUAGE.edit().putString("LANGUAGE", "4").commit();
					    title_1.setText(R.string.spotify_regular_04);
						title_2.setText(R.string.spotify_amoled_04);
						sub_text_installed.setText(R.string.installed_04);
						sub_text_1.setText(R.string.latest_04);
						sub_text_3.setText(R.string.latest_04);
						version_switch_1.setText(R.string.versions_04);
						version_switch_2.setText(R.string.versions_04);
						changelogs.setText(R.string.changelogs_04);
						title_sub.setText(R.string.manager_tools_04);
						device_cpu.setText(R.string.device_cpu_04);
						source.setText(R.string.source_04);
						support.setText(R.string.support_04);
						donate.setText(R.string.donate_04);
						about.setText(R.string.about_04);
						list_auto_refresh.setText(R.string.list_auto_refresh_04);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_04);
						force_auto_install.setText(R.string.force_auto_install_04);
						force_auto_install_info.setText(R.string.force_auto_install_desc_04);
						copy_url_mode.setText(R.string.copy_url_mode_04);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_04);
						navigation_bar.setText(R.string.hide_navigation_bar_04);
						theme.setText(R.string.show_themes_04);
						apk_location.setText(R.string.apk_location_04);
						apk_location_info.setText(R.string.apk_location_desc_04);
						clear_directory_folders.setText(R.string.clear_directory_folders_04);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_04);
						reset_settings.setText(R.string.reset_settings_04);
						sub_title.setText(R.string.about_sub_04);
						developer_manager.setText(R.string.xmanager_dev_04);
						developer_spotify.setText(R.string.spotify_mod_devs_04);
						support_team.setText(R.string.telegram_support_team_04);
						mod_testers_1.setText(R.string.manager_testers_04);
						mod_testers_2.setText(R.string.manager_hosting_04);
						mobilism_team.setText(R.string.mobilism_team_04);
						forum_team.setText(R.string.forum_team_04);
						manager_team.setText(R.string.xspotify_team_04);
						contributors_1.setText(R.string.contributors_04);
						download_selected.setText(R.string.download_selected_04);
						download_ready.setText(R.string.download_ready_04);
						download_ready_desc.setText(R.string.download_ready_desc_04);
						downloading_file.setText(R.string.downloading_file_04);
						download_success.setText(R.string.download_success_04);
						copy_url_desc.setText(R.string.copy_url_desc_04);
						new_update.setText(R.string.new_update_04);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_04);
						continue_1.setText(R.string.continue_1_04);
						cancel.setText(R.string.cancel_04);
						download.setText(R.string.download_04);
						later.setText(R.string.later_04);
						install_now.setText(R.string.install_now_04);
						install_update.setText(R.string.install_update_04);
						go_back.setText(R.string.go_back_04);
						download_update.setText(R.string.download_update_04);
						not_now.setText(R.string.not_now_04);
						show_support.setText(R.string.show_support_04);
						show_support_desc.setText(R.string.show_support_desc_04);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_04);
						settings_title.setText(R.string.settings_title_04);
						about_title.setText(R.string.about_title_04);
						maintenance.setText(R.string.maintenance_04);
						maintenance_desc.setText(R.string.maintenance_desc_04);
						thanks.setText(R.string.thanks_04);
						language.setText(R.string.language_04);
						website.setText(R.string.website_04);
						discord.setText(R.string.discord_04);
						reddit.setText(R.string.reddit_04);
						faq.setText(R.string.faq_04);
						cloned_version.setText(R.string.cloned_version_04);
						cloned_version_info.setText(R.string.cloned_version_desc_04);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_04);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_04);
					    installation_failed.setText(R.string.installation_failed_04);
					    installation_failed_desc.setText(R.string.installation_failed_desc_04);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_04);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_04);
					    existing_patched.setText(R.string.existing_patched_04);
					    existing_patched_desc.setText(R.string.existing_patched_desc_04);
					    close.setText(R.string.close_04);
					    cloned.setText(R.string.cloned_04);
					    ream.setText(R.string.ream_04);
					    install.setText(R.string.install_04);
					    uninstall.setText(R.string.uninstall_04);
					    ignore.setText(R.string.ignore_04);
					    delete.setText(R.string.delete_04);
					    uninstall_patched.setText(R.string.uninstall_patched_04);
					    open_settings.setText(R.string.open_settings_04);
					    open_patched.setText(R.string.open_patched_04);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 5) {
					LANGUAGE.edit().putString("LANGUAGE", "5").commit();
					    title_1.setText(R.string.spotify_regular_05);
						title_2.setText(R.string.spotify_amoled_05);
						sub_text_installed.setText(R.string.installed_05);
						sub_text_1.setText(R.string.latest_05);
						sub_text_3.setText(R.string.latest_05);
						version_switch_1.setText(R.string.versions_05);
						version_switch_2.setText(R.string.versions_05);
						changelogs.setText(R.string.changelogs_05);
						title_sub.setText(R.string.manager_tools_05);
						device_cpu.setText(R.string.device_cpu_05);
						source.setText(R.string.source_05);
						support.setText(R.string.support_05);
						donate.setText(R.string.donate_05);
						about.setText(R.string.about_05);
						list_auto_refresh.setText(R.string.list_auto_refresh_05);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_05);
						force_auto_install.setText(R.string.force_auto_install_05);
						force_auto_install_info.setText(R.string.force_auto_install_desc_05);
						copy_url_mode.setText(R.string.copy_url_mode_05);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_05);
						navigation_bar.setText(R.string.hide_navigation_bar_05);
						theme.setText(R.string.show_themes_05);
						apk_location.setText(R.string.apk_location_05);
						apk_location_info.setText(R.string.apk_location_desc_05);
						clear_directory_folders.setText(R.string.clear_directory_folders_05);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_05);
						reset_settings.setText(R.string.reset_settings_05);
						sub_title.setText(R.string.about_sub_05);
						developer_manager.setText(R.string.xmanager_dev_05);
						developer_spotify.setText(R.string.spotify_mod_devs_05);
						support_team.setText(R.string.telegram_support_team_05);
						mod_testers_1.setText(R.string.manager_testers_05);
						mod_testers_2.setText(R.string.manager_hosting_05);
						mobilism_team.setText(R.string.mobilism_team_05);
						forum_team.setText(R.string.forum_team_05);
						manager_team.setText(R.string.xspotify_team_05);
						contributors_1.setText(R.string.contributors_05);
						download_selected.setText(R.string.download_selected_05);
						download_ready.setText(R.string.download_ready_05);
						download_ready_desc.setText(R.string.download_ready_desc_05);
						downloading_file.setText(R.string.downloading_file_05);
						download_success.setText(R.string.download_success_05);
						copy_url_desc.setText(R.string.copy_url_desc_05);
						new_update.setText(R.string.new_update_05);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_05);
						continue_1.setText(R.string.continue_1_05);
						cancel.setText(R.string.cancel_05);
						download.setText(R.string.download_05);
						later.setText(R.string.later_05);
						install_now.setText(R.string.install_now_05);
						install_update.setText(R.string.install_update_05);
						go_back.setText(R.string.go_back_05);
						download_update.setText(R.string.download_update_05);
						not_now.setText(R.string.not_now_05);
						show_support.setText(R.string.show_support_05);
						show_support_desc.setText(R.string.show_support_desc_05);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_05);
						settings_title.setText(R.string.settings_title_05);
						about_title.setText(R.string.about_title_05);
						maintenance.setText(R.string.maintenance_05);
						maintenance_desc.setText(R.string.maintenance_desc_05);
						thanks.setText(R.string.thanks_05);
						language.setText(R.string.language_05);
						website.setText(R.string.website_05);
						discord.setText(R.string.discord_05);
						reddit.setText(R.string.reddit_05);
						faq.setText(R.string.faq_05);
						cloned_version.setText(R.string.cloned_version_05);
						cloned_version_info.setText(R.string.cloned_version_desc_05);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_05);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_05);
					    installation_failed.setText(R.string.installation_failed_05);
					    installation_failed_desc.setText(R.string.installation_failed_desc_05);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_05);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_05);
					    existing_patched.setText(R.string.existing_patched_05);
					    existing_patched_desc.setText(R.string.existing_patched_desc_05);
					    close.setText(R.string.close_05);
					    cloned.setText(R.string.cloned_05);
					    ream.setText(R.string.ream_05);
					    install.setText(R.string.install_05);
					    uninstall.setText(R.string.uninstall_05);
					    ignore.setText(R.string.ignore_05);
					    delete.setText(R.string.delete_05);
					    uninstall_patched.setText(R.string.uninstall_patched_05);
					    open_settings.setText(R.string.open_settings_05);
					    open_patched.setText(R.string.open_patched_05);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 6) {
					LANGUAGE.edit().putString("LANGUAGE", "6").commit();
					    title_1.setText(R.string.spotify_regular_06);
						title_2.setText(R.string.spotify_amoled_06);
						sub_text_installed.setText(R.string.installed_06);
						sub_text_1.setText(R.string.latest_06);
						sub_text_3.setText(R.string.latest_06);
						version_switch_1.setText(R.string.versions_06);
						version_switch_2.setText(R.string.versions_06);
						changelogs.setText(R.string.changelogs_06);
						title_sub.setText(R.string.manager_tools_06);
						device_cpu.setText(R.string.device_cpu_06);
						source.setText(R.string.source_06);
						support.setText(R.string.support_06);
						donate.setText(R.string.donate_06);
						about.setText(R.string.about_06);
						list_auto_refresh.setText(R.string.list_auto_refresh_06);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_06);
						force_auto_install.setText(R.string.force_auto_install_06);
						force_auto_install_info.setText(R.string.force_auto_install_desc_06);
						copy_url_mode.setText(R.string.copy_url_mode_06);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_06);
						navigation_bar.setText(R.string.hide_navigation_bar_06);
						theme.setText(R.string.show_themes_06);
						apk_location.setText(R.string.apk_location_06);
						apk_location_info.setText(R.string.apk_location_desc_06);
						clear_directory_folders.setText(R.string.clear_directory_folders_06);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_06);
						reset_settings.setText(R.string.reset_settings_06);
						sub_title.setText(R.string.about_sub_06);
						developer_manager.setText(R.string.xmanager_dev_06);
						developer_spotify.setText(R.string.spotify_mod_devs_06);
						support_team.setText(R.string.telegram_support_team_06);
						mod_testers_1.setText(R.string.manager_testers_06);
						mod_testers_2.setText(R.string.manager_hosting_06);
						mobilism_team.setText(R.string.mobilism_team_06);
						forum_team.setText(R.string.forum_team_06);
						manager_team.setText(R.string.xspotify_team_06);
						contributors_1.setText(R.string.contributors_06);
						download_selected.setText(R.string.download_selected_06);
						download_ready.setText(R.string.download_ready_06);
						download_ready_desc.setText(R.string.download_ready_desc_06);
						downloading_file.setText(R.string.downloading_file_06);
						download_success.setText(R.string.download_success_06);
						copy_url_desc.setText(R.string.copy_url_desc_06);
						new_update.setText(R.string.new_update_06);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_06);
						continue_1.setText(R.string.continue_1_06);
						cancel.setText(R.string.cancel_06);
						download.setText(R.string.download_06);
						later.setText(R.string.later_06);
						install_now.setText(R.string.install_now_06);
						install_update.setText(R.string.install_update_06);
						go_back.setText(R.string.go_back_06);
						download_update.setText(R.string.download_update_06);
						not_now.setText(R.string.not_now_06);
						show_support.setText(R.string.show_support_06);
						show_support_desc.setText(R.string.show_support_desc_06);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_06);
						settings_title.setText(R.string.settings_title_06);
						about_title.setText(R.string.about_title_06);
						maintenance.setText(R.string.maintenance_06);
						maintenance_desc.setText(R.string.maintenance_desc_06);
						thanks.setText(R.string.thanks_06);
						language.setText(R.string.language_06);
						website.setText(R.string.website_06);
						discord.setText(R.string.discord_06);
						reddit.setText(R.string.reddit_06);
						faq.setText(R.string.faq_06);
						cloned_version.setText(R.string.cloned_version_06);
						cloned_version_info.setText(R.string.cloned_version_desc_06);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_06);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_06);
					    installation_failed.setText(R.string.installation_failed_06);
					    installation_failed_desc.setText(R.string.installation_failed_desc_06);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_06);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_06);
					    existing_patched.setText(R.string.existing_patched_06);
					    existing_patched_desc.setText(R.string.existing_patched_desc_06);
					    close.setText(R.string.close_06);
					    cloned.setText(R.string.cloned_06);
					    ream.setText(R.string.ream_06);
					    install.setText(R.string.install_06);
					    uninstall.setText(R.string.uninstall_06);
					    ignore.setText(R.string.ignore_06);
					    delete.setText(R.string.delete_06);
					    uninstall_patched.setText(R.string.uninstall_patched_06);
					    open_settings.setText(R.string.open_settings_06);
					    open_patched.setText(R.string.open_patched_06);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 7) {
					LANGUAGE.edit().putString("LANGUAGE", "7").commit();
					    title_1.setText(R.string.spotify_regular_07);
						title_2.setText(R.string.spotify_amoled_07);
						sub_text_installed.setText(R.string.installed_07);
						sub_text_1.setText(R.string.latest_07);
						sub_text_3.setText(R.string.latest_07);
						version_switch_1.setText(R.string.versions_07);
						version_switch_2.setText(R.string.versions_07);
						changelogs.setText(R.string.changelogs_07);
						title_sub.setText(R.string.manager_tools_07);
						device_cpu.setText(R.string.device_cpu_07);
						source.setText(R.string.source_07);
						support.setText(R.string.support_07);
						donate.setText(R.string.donate_07);
						about.setText(R.string.about_07);
						list_auto_refresh.setText(R.string.list_auto_refresh_07);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_07);
						force_auto_install.setText(R.string.force_auto_install_07);
						force_auto_install_info.setText(R.string.force_auto_install_desc_07);
						copy_url_mode.setText(R.string.copy_url_mode_07);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_07);
						navigation_bar.setText(R.string.hide_navigation_bar_07);
						theme.setText(R.string.show_themes_07);
						apk_location.setText(R.string.apk_location_07);
						apk_location_info.setText(R.string.apk_location_desc_07);
						clear_directory_folders.setText(R.string.clear_directory_folders_07);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_07);
						reset_settings.setText(R.string.reset_settings_07);
						sub_title.setText(R.string.about_sub_07);
						developer_manager.setText(R.string.xmanager_dev_07);
						developer_spotify.setText(R.string.spotify_mod_devs_07);
						support_team.setText(R.string.telegram_support_team_07);
						mod_testers_1.setText(R.string.manager_testers_07);
						mod_testers_2.setText(R.string.manager_hosting_07);
						mobilism_team.setText(R.string.mobilism_team_07);
						forum_team.setText(R.string.forum_team_07);
						manager_team.setText(R.string.xspotify_team_07);
						contributors_1.setText(R.string.contributors_07);
						download_selected.setText(R.string.download_selected_07);
						download_ready.setText(R.string.download_ready_07);
						download_ready_desc.setText(R.string.download_ready_desc_07);
						downloading_file.setText(R.string.downloading_file_07);
						download_success.setText(R.string.download_success_07);
						copy_url_desc.setText(R.string.copy_url_desc_07);
						new_update.setText(R.string.new_update_07);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_07);
						continue_1.setText(R.string.continue_1_07);
						cancel.setText(R.string.cancel_07);
						download.setText(R.string.download_07);
						later.setText(R.string.later_07);
						install_now.setText(R.string.install_now_07);
						install_update.setText(R.string.install_update_07);
						go_back.setText(R.string.go_back_07);
						download_update.setText(R.string.download_update_07);
						not_now.setText(R.string.not_now_07);
						show_support.setText(R.string.show_support_07);
						show_support_desc.setText(R.string.show_support_desc_07);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_07);
						settings_title.setText(R.string.settings_title_07);
						about_title.setText(R.string.about_title_07);
						maintenance.setText(R.string.maintenance_07);
						maintenance_desc.setText(R.string.maintenance_desc_07);
						thanks.setText(R.string.thanks_07);
						language.setText(R.string.language_07);
						website.setText(R.string.website_07);
						discord.setText(R.string.discord_07);
						reddit.setText(R.string.reddit_07);
						faq.setText(R.string.faq_07);
						cloned_version.setText(R.string.cloned_version_07);
						cloned_version_info.setText(R.string.cloned_version_desc_07);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_07);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_07);
					    installation_failed.setText(R.string.installation_failed_07);
					    installation_failed_desc.setText(R.string.installation_failed_desc_07);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_07);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_07);
					    existing_patched.setText(R.string.existing_patched_07);
					    existing_patched_desc.setText(R.string.existing_patched_desc_07);
					    close.setText(R.string.close_07);
					    cloned.setText(R.string.cloned_07);
					    ream.setText(R.string.ream_07);
					    install.setText(R.string.install_07);
					    uninstall.setText(R.string.uninstall_07);
					    ignore.setText(R.string.ignore_07);
					    delete.setText(R.string.delete_07);
					    uninstall_patched.setText(R.string.uninstall_patched_07);
					    open_settings.setText(R.string.open_settings_07);
					    open_patched.setText(R.string.open_patched_07);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 8) {
					LANGUAGE.edit().putString("LANGUAGE", "8").commit();
					    title_1.setText(R.string.spotify_regular_08);
						title_2.setText(R.string.spotify_amoled_08);
						sub_text_installed.setText(R.string.installed_08);
						sub_text_1.setText(R.string.latest_08);
						sub_text_3.setText(R.string.latest_08);
						version_switch_1.setText(R.string.versions_08);
						version_switch_2.setText(R.string.versions_08);
						changelogs.setText(R.string.changelogs_08);
						title_sub.setText(R.string.manager_tools_08);
						device_cpu.setText(R.string.device_cpu_08);
						source.setText(R.string.source_08);
						support.setText(R.string.support_08);
						donate.setText(R.string.donate_08);
						about.setText(R.string.about_08);
						list_auto_refresh.setText(R.string.list_auto_refresh_08);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_08);
						force_auto_install.setText(R.string.force_auto_install_08);
						force_auto_install_info.setText(R.string.force_auto_install_desc_08);
						copy_url_mode.setText(R.string.copy_url_mode_08);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_08);
						navigation_bar.setText(R.string.hide_navigation_bar_08);
						theme.setText(R.string.show_themes_08);
						apk_location.setText(R.string.apk_location_08);
						apk_location_info.setText(R.string.apk_location_desc_08);
						clear_directory_folders.setText(R.string.clear_directory_folders_08);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_08);
						reset_settings.setText(R.string.reset_settings_08);
						sub_title.setText(R.string.about_sub_08);
						developer_manager.setText(R.string.xmanager_dev_08);
						developer_spotify.setText(R.string.spotify_mod_devs_08);
						support_team.setText(R.string.telegram_support_team_08);
						mod_testers_1.setText(R.string.manager_testers_08);
						mod_testers_2.setText(R.string.manager_hosting_08);
						mobilism_team.setText(R.string.mobilism_team_08);
						forum_team.setText(R.string.forum_team_08);
						manager_team.setText(R.string.xspotify_team_08);
						contributors_1.setText(R.string.contributors_08);
						download_selected.setText(R.string.download_selected_08);
						download_ready.setText(R.string.download_ready_08);
						download_ready_desc.setText(R.string.download_ready_desc_08);
						downloading_file.setText(R.string.downloading_file_08);
						download_success.setText(R.string.download_success_08);
						copy_url_desc.setText(R.string.copy_url_desc_08);
						new_update.setText(R.string.new_update_08);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_08);
						continue_1.setText(R.string.continue_1_08);
						cancel.setText(R.string.cancel_08);
						download.setText(R.string.download_08);
						later.setText(R.string.later_08);
						install_now.setText(R.string.install_now_08);
						install_update.setText(R.string.install_update_08);
						go_back.setText(R.string.go_back_08);
						download_update.setText(R.string.download_update_08);
						not_now.setText(R.string.not_now_08);
						show_support.setText(R.string.show_support_08);
						show_support_desc.setText(R.string.show_support_desc_08);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_08);
						settings_title.setText(R.string.settings_title_08);
						about_title.setText(R.string.about_title_08);
						maintenance.setText(R.string.maintenance_08);
						maintenance_desc.setText(R.string.maintenance_desc_08);
						thanks.setText(R.string.thanks_08);
						language.setText(R.string.language_08);
						website.setText(R.string.website_08);
						discord.setText(R.string.discord_08);
						reddit.setText(R.string.reddit_08);
						faq.setText(R.string.faq_08);
						cloned_version.setText(R.string.cloned_version_08);
						cloned_version_info.setText(R.string.cloned_version_desc_08);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_08);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_08);
					    installation_failed.setText(R.string.installation_failed_08);
					    installation_failed_desc.setText(R.string.installation_failed_desc_08);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_08);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_08);
					    existing_patched.setText(R.string.existing_patched_08);
					    existing_patched_desc.setText(R.string.existing_patched_desc_08);
					    close.setText(R.string.close_08);
					    cloned.setText(R.string.cloned_08);
					    ream.setText(R.string.ream_08);
					    install.setText(R.string.install_08);
					    uninstall.setText(R.string.uninstall_08);
					    ignore.setText(R.string.ignore_08);
					    delete.setText(R.string.delete_08);
					    uninstall_patched.setText(R.string.uninstall_patched_08);
					    open_settings.setText(R.string.open_settings_08);
					    open_patched.setText(R.string.open_patched_08);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 9) {
					LANGUAGE.edit().putString("LANGUAGE", "9").commit();
					    title_1.setText(R.string.spotify_regular_09);
						title_2.setText(R.string.spotify_amoled_09);
						sub_text_installed.setText(R.string.installed_09);
						sub_text_1.setText(R.string.latest_09);
						sub_text_3.setText(R.string.latest_09);
						version_switch_1.setText(R.string.versions_09);
						version_switch_2.setText(R.string.versions_09);
						changelogs.setText(R.string.changelogs_09);
						title_sub.setText(R.string.manager_tools_09);
						device_cpu.setText(R.string.device_cpu_09);
						source.setText(R.string.source_09);
						support.setText(R.string.support_09);
						donate.setText(R.string.donate_09);
						about.setText(R.string.about_09);
						list_auto_refresh.setText(R.string.list_auto_refresh_09);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_09);
						force_auto_install.setText(R.string.force_auto_install_09);
						force_auto_install_info.setText(R.string.force_auto_install_desc_09);
						copy_url_mode.setText(R.string.copy_url_mode_09);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_09);
						navigation_bar.setText(R.string.hide_navigation_bar_09);
						theme.setText(R.string.show_themes_09);
						apk_location.setText(R.string.apk_location_09);
						apk_location_info.setText(R.string.apk_location_desc_09);
						clear_directory_folders.setText(R.string.clear_directory_folders_09);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_09);
						reset_settings.setText(R.string.reset_settings_09);
						sub_title.setText(R.string.about_sub_09);
						developer_manager.setText(R.string.xmanager_dev_09);
						developer_spotify.setText(R.string.spotify_mod_devs_09);
						support_team.setText(R.string.telegram_support_team_09);
						mod_testers_1.setText(R.string.manager_testers_09);
						mod_testers_2.setText(R.string.manager_hosting_09);
						mobilism_team.setText(R.string.mobilism_team_09);
						forum_team.setText(R.string.forum_team_09);
						manager_team.setText(R.string.xspotify_team_09);
						contributors_1.setText(R.string.contributors_09);
						download_selected.setText(R.string.download_selected_09);
						download_ready.setText(R.string.download_ready_09);
						download_ready_desc.setText(R.string.download_ready_desc_09);
						downloading_file.setText(R.string.downloading_file_09);
						download_success.setText(R.string.download_success_09);
						copy_url_desc.setText(R.string.copy_url_desc_09);
						new_update.setText(R.string.new_update_09);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_09);
						continue_1.setText(R.string.continue_1_09);
						cancel.setText(R.string.cancel_09);
						download.setText(R.string.download_09);
						later.setText(R.string.later_09);
						install_now.setText(R.string.install_now_09);
						install_update.setText(R.string.install_update_09);
						go_back.setText(R.string.go_back_09);
						download_update.setText(R.string.download_update_09);
						not_now.setText(R.string.not_now_09);
						show_support.setText(R.string.show_support_09);
						show_support_desc.setText(R.string.show_support_desc_09);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_09);
						settings_title.setText(R.string.settings_title_09);
						about_title.setText(R.string.about_title_09);
						maintenance.setText(R.string.maintenance_09);
						maintenance_desc.setText(R.string.maintenance_desc_09);
						thanks.setText(R.string.thanks_09);
						language.setText(R.string.language_09);
						website.setText(R.string.website_09);
						discord.setText(R.string.discord_09);
						reddit.setText(R.string.reddit_09);
						faq.setText(R.string.faq_09);
						cloned_version.setText(R.string.cloned_version_09);
						cloned_version_info.setText(R.string.cloned_version_desc_09);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_09);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_09);
					    installation_failed.setText(R.string.installation_failed_09);
					    installation_failed_desc.setText(R.string.installation_failed_desc_09);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_09);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_09);
					    existing_patched.setText(R.string.existing_patched_09);
					    existing_patched_desc.setText(R.string.existing_patched_desc_09);
					    close.setText(R.string.close_09);
					    cloned.setText(R.string.cloned_09);
					    ream.setText(R.string.ream_09);
					    install.setText(R.string.install_09);
					    uninstall.setText(R.string.uninstall_09);
					    ignore.setText(R.string.ignore_09);
					    delete.setText(R.string.delete_09);
					    uninstall_patched.setText(R.string.uninstall_patched_09);
					    open_settings.setText(R.string.open_settings_09);
					    open_patched.setText(R.string.open_patched_09);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 10) {
					LANGUAGE.edit().putString("LANGUAGE", "10").commit();
					    title_1.setText(R.string.spotify_regular_10);
						title_2.setText(R.string.spotify_amoled_10);
						sub_text_installed.setText(R.string.installed_10);
						sub_text_1.setText(R.string.latest_10);
						sub_text_3.setText(R.string.latest_10);
						version_switch_1.setText(R.string.versions_10);
						version_switch_2.setText(R.string.versions_10);
						changelogs.setText(R.string.changelogs_10);
						title_sub.setText(R.string.manager_tools_10);
						device_cpu.setText(R.string.device_cpu_10);
						source.setText(R.string.source_10);
						support.setText(R.string.support_10);
						donate.setText(R.string.donate_10);
						about.setText(R.string.about_10);
						list_auto_refresh.setText(R.string.list_auto_refresh_10);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_10);
						force_auto_install.setText(R.string.force_auto_install_10);
						force_auto_install_info.setText(R.string.force_auto_install_desc_10);
						copy_url_mode.setText(R.string.copy_url_mode_10);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_10);
						navigation_bar.setText(R.string.hide_navigation_bar_10);
						theme.setText(R.string.show_themes_10);
						apk_location.setText(R.string.apk_location_10);
						apk_location_info.setText(R.string.apk_location_desc_10);
						clear_directory_folders.setText(R.string.clear_directory_folders_10);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_10);
						reset_settings.setText(R.string.reset_settings_10);
						sub_title.setText(R.string.about_sub_10);
						developer_manager.setText(R.string.xmanager_dev_10);
						developer_spotify.setText(R.string.spotify_mod_devs_10);
						support_team.setText(R.string.telegram_support_team_10);
						mod_testers_1.setText(R.string.manager_testers_10);
						mod_testers_2.setText(R.string.manager_hosting_10);
						mobilism_team.setText(R.string.mobilism_team_10);
						forum_team.setText(R.string.forum_team_10);
						manager_team.setText(R.string.xspotify_team_10);
						contributors_1.setText(R.string.contributors_10);
						download_selected.setText(R.string.download_selected_10);
						download_ready.setText(R.string.download_ready_10);
						download_ready_desc.setText(R.string.download_ready_desc_10);
						downloading_file.setText(R.string.downloading_file_10);
						download_success.setText(R.string.download_success_10);
						copy_url_desc.setText(R.string.copy_url_desc_10);
						new_update.setText(R.string.new_update_10);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_10);
						continue_1.setText(R.string.continue_1_10);
						cancel.setText(R.string.cancel_10);
						download.setText(R.string.download_10);
						later.setText(R.string.later_10);
						install_now.setText(R.string.install_now_10);
						install_update.setText(R.string.install_update_10);
						go_back.setText(R.string.go_back_10);
						download_update.setText(R.string.download_update_10);
						not_now.setText(R.string.not_now_10);
						show_support.setText(R.string.show_support_10);
						show_support_desc.setText(R.string.show_support_desc_10);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_10);
						settings_title.setText(R.string.settings_title_10);
						about_title.setText(R.string.about_title_10);
						maintenance.setText(R.string.maintenance_10);
						maintenance_desc.setText(R.string.maintenance_desc_10);
						thanks.setText(R.string.thanks_10);
						language.setText(R.string.language_10);
						website.setText(R.string.website_10);
						discord.setText(R.string.discord_10);
						reddit.setText(R.string.reddit_10);
						faq.setText(R.string.faq_10);
						cloned_version.setText(R.string.cloned_version_10);
						cloned_version_info.setText(R.string.cloned_version_desc_10);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_10);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_10);
					    installation_failed.setText(R.string.installation_failed_10);
					    installation_failed_desc.setText(R.string.installation_failed_desc_10);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_10);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_10);
					    existing_patched.setText(R.string.existing_patched_10);
					    existing_patched_desc.setText(R.string.existing_patched_desc_10);
					    close.setText(R.string.close_10);
					    cloned.setText(R.string.cloned_10);
					    ream.setText(R.string.ream_10);
					    install.setText(R.string.install_10);
					    uninstall.setText(R.string.uninstall_10);
					    ignore.setText(R.string.ignore_10);
					    delete.setText(R.string.delete_10);
					    uninstall_patched.setText(R.string.uninstall_patched_10);
					    open_settings.setText(R.string.open_settings_10);
					    open_patched.setText(R.string.open_patched_10);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 11) {
					LANGUAGE.edit().putString("LANGUAGE", "11").commit();
					    title_1.setText(R.string.spotify_regular_11);
						title_2.setText(R.string.spotify_amoled_11);
						sub_text_installed.setText(R.string.installed_11);
						sub_text_1.setText(R.string.latest_11);
						sub_text_3.setText(R.string.latest_11);
						version_switch_1.setText(R.string.versions_11);
						version_switch_2.setText(R.string.versions_11);
						changelogs.setText(R.string.changelogs_11);
						title_sub.setText(R.string.manager_tools_11);
						device_cpu.setText(R.string.device_cpu_11);
						source.setText(R.string.source_11);
						support.setText(R.string.support_11);
						donate.setText(R.string.donate_11);
						about.setText(R.string.about_11);
						list_auto_refresh.setText(R.string.list_auto_refresh_11);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_11);
						force_auto_install.setText(R.string.force_auto_install_11);
						force_auto_install_info.setText(R.string.force_auto_install_desc_11);
						copy_url_mode.setText(R.string.copy_url_mode_11);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_11);
						navigation_bar.setText(R.string.hide_navigation_bar_11);
						theme.setText(R.string.show_themes_11);
						apk_location.setText(R.string.apk_location_11);
						apk_location_info.setText(R.string.apk_location_desc_11);
						clear_directory_folders.setText(R.string.clear_directory_folders_11);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_11);
						reset_settings.setText(R.string.reset_settings_11);
						sub_title.setText(R.string.about_sub_11);
						developer_manager.setText(R.string.xmanager_dev_11);
						developer_spotify.setText(R.string.spotify_mod_devs_11);
						support_team.setText(R.string.telegram_support_team_11);
						mod_testers_1.setText(R.string.manager_testers_11);
						mod_testers_2.setText(R.string.manager_hosting_11);
						mobilism_team.setText(R.string.mobilism_team_11);
						forum_team.setText(R.string.forum_team_11);
						manager_team.setText(R.string.xspotify_team_11);
						contributors_1.setText(R.string.contributors_11);
						download_selected.setText(R.string.download_selected_11);
						download_ready.setText(R.string.download_ready_11);
						download_ready_desc.setText(R.string.download_ready_desc_11);
						downloading_file.setText(R.string.downloading_file_11);
						download_success.setText(R.string.download_success_11);
						copy_url_desc.setText(R.string.copy_url_desc_11);
						new_update.setText(R.string.new_update_11);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_11);
						continue_1.setText(R.string.continue_1_11);
						cancel.setText(R.string.cancel_11);
						download.setText(R.string.download_11);
						later.setText(R.string.later_11);
						install_now.setText(R.string.install_now_11);
						install_update.setText(R.string.install_update_11);
						go_back.setText(R.string.go_back_11);
						download_update.setText(R.string.download_update_11);
						not_now.setText(R.string.not_now_11);
						show_support.setText(R.string.show_support_11);
						show_support_desc.setText(R.string.show_support_desc_11);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_11);
						settings_title.setText(R.string.settings_title_11);
						about_title.setText(R.string.about_title_11);
						maintenance.setText(R.string.maintenance_11);
						maintenance_desc.setText(R.string.maintenance_desc_11);
						thanks.setText(R.string.thanks_11);
						language.setText(R.string.language_11);
						website.setText(R.string.website_11);
						discord.setText(R.string.discord_11);
						reddit.setText(R.string.reddit_11);
						faq.setText(R.string.faq_11);
						cloned_version.setText(R.string.cloned_version_11);
						cloned_version_info.setText(R.string.cloned_version_desc_11);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_11);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_11);
					    installation_failed.setText(R.string.installation_failed_11);
					    installation_failed_desc.setText(R.string.installation_failed_desc_11);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_11);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_11);
					    existing_patched.setText(R.string.existing_patched_11);
					    existing_patched_desc.setText(R.string.existing_patched_desc_11);
					    close.setText(R.string.close_11);
					    cloned.setText(R.string.cloned_11);
					    ream.setText(R.string.ream_11);
					    install.setText(R.string.install_11);
					    uninstall.setText(R.string.uninstall_11);
					    ignore.setText(R.string.ignore_11);
					    delete.setText(R.string.delete_11);
					    uninstall_patched.setText(R.string.uninstall_patched_11);
					    open_settings.setText(R.string.open_settings_11);
					    open_patched.setText(R.string.open_patched_11);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 12) {
					LANGUAGE.edit().putString("LANGUAGE", "12").commit();
					    title_1.setText(R.string.spotify_regular_12);
						title_2.setText(R.string.spotify_amoled_12);
						sub_text_installed.setText(R.string.installed_12);
						sub_text_1.setText(R.string.latest_12);
						sub_text_3.setText(R.string.latest_12);
						version_switch_1.setText(R.string.versions_12);
						version_switch_2.setText(R.string.versions_12);
						changelogs.setText(R.string.changelogs_12);
						title_sub.setText(R.string.manager_tools_12);
						device_cpu.setText(R.string.device_cpu_12);
						source.setText(R.string.source_12);
						support.setText(R.string.support_12);
						donate.setText(R.string.donate_12);
						about.setText(R.string.about_12);
						list_auto_refresh.setText(R.string.list_auto_refresh_12);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_12);
						force_auto_install.setText(R.string.force_auto_install_12);
						force_auto_install_info.setText(R.string.force_auto_install_desc_12);
						copy_url_mode.setText(R.string.copy_url_mode_12);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_12);
						navigation_bar.setText(R.string.hide_navigation_bar_12);
						theme.setText(R.string.show_themes_12);
						apk_location.setText(R.string.apk_location_12);
						apk_location_info.setText(R.string.apk_location_desc_12);
						clear_directory_folders.setText(R.string.clear_directory_folders_12);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_12);
						reset_settings.setText(R.string.reset_settings_12);
						sub_title.setText(R.string.about_sub_12);
						developer_manager.setText(R.string.xmanager_dev_12);
						developer_spotify.setText(R.string.spotify_mod_devs_12);
						support_team.setText(R.string.telegram_support_team_12);
						mod_testers_1.setText(R.string.manager_testers_12);
						mod_testers_2.setText(R.string.manager_hosting_12);
						mobilism_team.setText(R.string.mobilism_team_12);
						forum_team.setText(R.string.forum_team_12);
						manager_team.setText(R.string.xspotify_team_12);
						contributors_1.setText(R.string.contributors_12);
						download_selected.setText(R.string.download_selected_12);
						download_ready.setText(R.string.download_ready_12);
						download_ready_desc.setText(R.string.download_ready_desc_12);
						downloading_file.setText(R.string.downloading_file_12);
						download_success.setText(R.string.download_success_12);
						copy_url_desc.setText(R.string.copy_url_desc_12);
						new_update.setText(R.string.new_update_12);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_12);
						continue_1.setText(R.string.continue_1_12);
						cancel.setText(R.string.cancel_12);
						download.setText(R.string.download_12);
						later.setText(R.string.later_12);
						install_now.setText(R.string.install_now_12);
						install_update.setText(R.string.install_update_12);
						go_back.setText(R.string.go_back_12);
						download_update.setText(R.string.download_update_12);
						not_now.setText(R.string.not_now_12);
						show_support.setText(R.string.show_support_12);
						show_support_desc.setText(R.string.show_support_desc_12);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_12);
						settings_title.setText(R.string.settings_title_12);
						about_title.setText(R.string.about_title_12);
						maintenance.setText(R.string.maintenance_12);
						maintenance_desc.setText(R.string.maintenance_desc_12);
						thanks.setText(R.string.thanks_12);
						language.setText(R.string.language_12);
						website.setText(R.string.website_12);
						discord.setText(R.string.discord_12);
						reddit.setText(R.string.reddit_12);
						faq.setText(R.string.faq_12);
						cloned_version.setText(R.string.cloned_version_12);
						cloned_version_info.setText(R.string.cloned_version_desc_12);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_12);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_12);
					    installation_failed.setText(R.string.installation_failed_12);
					    installation_failed_desc.setText(R.string.installation_failed_desc_12);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_12);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_12);
					    existing_patched.setText(R.string.existing_patched_12);
					    existing_patched_desc.setText(R.string.existing_patched_desc_12);
					    close.setText(R.string.close_12);
					    cloned.setText(R.string.cloned_12);
					    ream.setText(R.string.ream_12);
					    install.setText(R.string.install_12);
					    uninstall.setText(R.string.uninstall_12);
					    ignore.setText(R.string.ignore_12);
					    delete.setText(R.string.delete_12);
					    uninstall_patched.setText(R.string.uninstall_patched_12);
					    open_settings.setText(R.string.open_settings_12);
					    open_patched.setText(R.string.open_patched_12);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 13) {
					LANGUAGE.edit().putString("LANGUAGE", "13").commit();
					    title_1.setText(R.string.spotify_regular_13);
						title_2.setText(R.string.spotify_amoled_13);
						sub_text_installed.setText(R.string.installed_13);
						sub_text_1.setText(R.string.latest_13);
						sub_text_3.setText(R.string.latest_13);
						version_switch_1.setText(R.string.versions_13);
						version_switch_2.setText(R.string.versions_13);
						changelogs.setText(R.string.changelogs_13);
						title_sub.setText(R.string.manager_tools_13);
						device_cpu.setText(R.string.device_cpu_13);
						source.setText(R.string.source_13);
						support.setText(R.string.support_13);
						donate.setText(R.string.donate_13);
						about.setText(R.string.about_13);
						list_auto_refresh.setText(R.string.list_auto_refresh_13);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_13);
						force_auto_install.setText(R.string.force_auto_install_13);
						force_auto_install_info.setText(R.string.force_auto_install_desc_13);
						copy_url_mode.setText(R.string.copy_url_mode_13);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_13);
						navigation_bar.setText(R.string.hide_navigation_bar_13);
						theme.setText(R.string.show_themes_13);
						apk_location.setText(R.string.apk_location_13);
						apk_location_info.setText(R.string.apk_location_desc_13);
						clear_directory_folders.setText(R.string.clear_directory_folders_13);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_13);
						reset_settings.setText(R.string.reset_settings_13);
						sub_title.setText(R.string.about_sub_13);
						developer_manager.setText(R.string.xmanager_dev_13);
						developer_spotify.setText(R.string.spotify_mod_devs_13);
						support_team.setText(R.string.telegram_support_team_13);
						mod_testers_1.setText(R.string.manager_testers_13);
						mod_testers_2.setText(R.string.manager_hosting_13);
						mobilism_team.setText(R.string.mobilism_team_13);
						forum_team.setText(R.string.forum_team_13);
						manager_team.setText(R.string.xspotify_team_13);
						contributors_1.setText(R.string.contributors_13);
						download_selected.setText(R.string.download_selected_13);
						download_ready.setText(R.string.download_ready_13);
						download_ready_desc.setText(R.string.download_ready_desc_13);
						downloading_file.setText(R.string.downloading_file_13);
						download_success.setText(R.string.download_success_13);
						copy_url_desc.setText(R.string.copy_url_desc_13);
						new_update.setText(R.string.new_update_13);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_13);
						continue_1.setText(R.string.continue_1_13);
						cancel.setText(R.string.cancel_13);
						download.setText(R.string.download_13);
						later.setText(R.string.later_13);
						install_now.setText(R.string.install_now_13);
						install_update.setText(R.string.install_update_13);
						go_back.setText(R.string.go_back_13);
						download_update.setText(R.string.download_update_13);
						not_now.setText(R.string.not_now_13);
						show_support.setText(R.string.show_support_13);
						show_support_desc.setText(R.string.show_support_desc_13);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_13);
						settings_title.setText(R.string.settings_title_13);
						about_title.setText(R.string.about_title_13);
						maintenance.setText(R.string.maintenance_13);
						maintenance_desc.setText(R.string.maintenance_desc_13);
						thanks.setText(R.string.thanks_13);
						language.setText(R.string.language_13);
						website.setText(R.string.website_13);
						discord.setText(R.string.discord_13);
						reddit.setText(R.string.reddit_13);
						faq.setText(R.string.faq_13);
						cloned_version.setText(R.string.cloned_version_13);
						cloned_version_info.setText(R.string.cloned_version_desc_13);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_13);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_13);
					    installation_failed.setText(R.string.installation_failed_13);
					    installation_failed_desc.setText(R.string.installation_failed_desc_13);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_13);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_13);
					    existing_patched.setText(R.string.existing_patched_13);
					    existing_patched_desc.setText(R.string.existing_patched_desc_13);
					    close.setText(R.string.close_13);
					    cloned.setText(R.string.cloned_13);
					    ream.setText(R.string.ream_13);
					    install.setText(R.string.install_13);
					    uninstall.setText(R.string.uninstall_13);
					    ignore.setText(R.string.ignore_13);
					    delete.setText(R.string.delete_13);
					    uninstall_patched.setText(R.string.uninstall_patched_13);
					    open_settings.setText(R.string.open_settings_13);
					    open_patched.setText(R.string.open_patched_13);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 14) {
					LANGUAGE.edit().putString("LANGUAGE", "14").commit();
					    title_1.setText(R.string.spotify_regular_14);
						title_2.setText(R.string.spotify_amoled_14);
						sub_text_installed.setText(R.string.installed_14);
						sub_text_1.setText(R.string.latest_14);
						sub_text_3.setText(R.string.latest_14);
						version_switch_1.setText(R.string.versions_14);
						version_switch_2.setText(R.string.versions_14);
						changelogs.setText(R.string.changelogs_14);
						title_sub.setText(R.string.manager_tools_14);
						device_cpu.setText(R.string.device_cpu_14);
						source.setText(R.string.source_14);
						support.setText(R.string.support_14);
						donate.setText(R.string.donate_14);
						about.setText(R.string.about_14);
						list_auto_refresh.setText(R.string.list_auto_refresh_14);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_14);
						force_auto_install.setText(R.string.force_auto_install_14);
						force_auto_install_info.setText(R.string.force_auto_install_desc_14);
						copy_url_mode.setText(R.string.copy_url_mode_14);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_14);
						navigation_bar.setText(R.string.hide_navigation_bar_14);
						theme.setText(R.string.show_themes_14);
						apk_location.setText(R.string.apk_location_14);
						apk_location_info.setText(R.string.apk_location_desc_14);
						clear_directory_folders.setText(R.string.clear_directory_folders_14);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_14);
						reset_settings.setText(R.string.reset_settings_14);
						sub_title.setText(R.string.about_sub_14);
						developer_manager.setText(R.string.xmanager_dev_14);
						developer_spotify.setText(R.string.spotify_mod_devs_14);
						support_team.setText(R.string.telegram_support_team_14);
						mod_testers_1.setText(R.string.manager_testers_14);
						mod_testers_2.setText(R.string.manager_hosting_14);
						mobilism_team.setText(R.string.mobilism_team_14);
						forum_team.setText(R.string.forum_team_14);
						manager_team.setText(R.string.xspotify_team_14);
						contributors_1.setText(R.string.contributors_14);
						download_selected.setText(R.string.download_selected_14);
						download_ready.setText(R.string.download_ready_14);
						download_ready_desc.setText(R.string.download_ready_desc_14);
						downloading_file.setText(R.string.downloading_file_14);
						download_success.setText(R.string.download_success_14);
						copy_url_desc.setText(R.string.copy_url_desc_14);
						new_update.setText(R.string.new_update_14);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_14);
						continue_1.setText(R.string.continue_1_14);
						cancel.setText(R.string.cancel_14);
						download.setText(R.string.download_14);
						later.setText(R.string.later_14);
						install_now.setText(R.string.install_now_14);
						install_update.setText(R.string.install_update_14);
						go_back.setText(R.string.go_back_14);
						download_update.setText(R.string.download_update_14);
						not_now.setText(R.string.not_now_14);
						show_support.setText(R.string.show_support_14);
						show_support_desc.setText(R.string.show_support_desc_14);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_14);
						settings_title.setText(R.string.settings_title_14);
						about_title.setText(R.string.about_title_14);
						maintenance.setText(R.string.maintenance_14);
						maintenance_desc.setText(R.string.maintenance_desc_14);
						thanks.setText(R.string.thanks_14);
						language.setText(R.string.language_14);
						website.setText(R.string.website_14);
						discord.setText(R.string.discord_14);
						reddit.setText(R.string.reddit_14);
						faq.setText(R.string.faq_14);
						cloned_version.setText(R.string.cloned_version_14);
						cloned_version_info.setText(R.string.cloned_version_desc_14);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_14);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_14);
					    installation_failed.setText(R.string.installation_failed_14);
					    installation_failed_desc.setText(R.string.installation_failed_desc_14);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_14);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_14);
					    existing_patched.setText(R.string.existing_patched_14);
					    existing_patched_desc.setText(R.string.existing_patched_desc_14);
					    close.setText(R.string.close_14);
					    cloned.setText(R.string.cloned_14);
					    ream.setText(R.string.ream_14);
					    install.setText(R.string.install_14);
					    uninstall.setText(R.string.uninstall_14);
					    ignore.setText(R.string.ignore_14);
					    delete.setText(R.string.delete_14);
					    uninstall_patched.setText(R.string.uninstall_patched_14);
					    open_settings.setText(R.string.open_settings_14);
					    open_patched.setText(R.string.open_patched_14);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 15) {
					LANGUAGE.edit().putString("LANGUAGE", "15").commit();
					    title_1.setText(R.string.spotify_regular_15);
						title_2.setText(R.string.spotify_amoled_15);
						sub_text_installed.setText(R.string.installed_15);
						sub_text_1.setText(R.string.latest_15);
						sub_text_3.setText(R.string.latest_15);
						version_switch_1.setText(R.string.versions_15);
						version_switch_2.setText(R.string.versions_15);
						changelogs.setText(R.string.changelogs_15);
						title_sub.setText(R.string.manager_tools_15);
						device_cpu.setText(R.string.device_cpu_15);
						source.setText(R.string.source_15);
						support.setText(R.string.support_15);
						donate.setText(R.string.donate_15);
						about.setText(R.string.about_15);
						list_auto_refresh.setText(R.string.list_auto_refresh_15);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_15);
						force_auto_install.setText(R.string.force_auto_install_15);
						force_auto_install_info.setText(R.string.force_auto_install_desc_15);
						copy_url_mode.setText(R.string.copy_url_mode_15);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_15);
						navigation_bar.setText(R.string.hide_navigation_bar_15);
						theme.setText(R.string.show_themes_15);
						apk_location.setText(R.string.apk_location_15);
						apk_location_info.setText(R.string.apk_location_desc_15);
						clear_directory_folders.setText(R.string.clear_directory_folders_15);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_15);
						reset_settings.setText(R.string.reset_settings_15);
						sub_title.setText(R.string.about_sub_15);
						developer_manager.setText(R.string.xmanager_dev_15);
						developer_spotify.setText(R.string.spotify_mod_devs_15);
						support_team.setText(R.string.telegram_support_team_15);
						mod_testers_1.setText(R.string.manager_testers_15);
						mod_testers_2.setText(R.string.manager_hosting_15);
						mobilism_team.setText(R.string.mobilism_team_15);
						forum_team.setText(R.string.forum_team_15);
						manager_team.setText(R.string.xspotify_team_15);
						contributors_1.setText(R.string.contributors_15);
						download_selected.setText(R.string.download_selected_15);
						download_ready.setText(R.string.download_ready_15);
						download_ready_desc.setText(R.string.download_ready_desc_15);
						downloading_file.setText(R.string.downloading_file_15);
						download_success.setText(R.string.download_success_15);
						copy_url_desc.setText(R.string.copy_url_desc_15);
						new_update.setText(R.string.new_update_15);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_15);
						continue_1.setText(R.string.continue_1_15);
						cancel.setText(R.string.cancel_15);
						download.setText(R.string.download_15);
						later.setText(R.string.later_15);
						install_now.setText(R.string.install_now_15);
						install_update.setText(R.string.install_update_15);
						go_back.setText(R.string.go_back_15);
						download_update.setText(R.string.download_update_15);
						not_now.setText(R.string.not_now_15);
						show_support.setText(R.string.show_support_15);
						show_support_desc.setText(R.string.show_support_desc_15);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_15);
						settings_title.setText(R.string.settings_title_15);
						about_title.setText(R.string.about_title_15);
						maintenance.setText(R.string.maintenance_15);
						maintenance_desc.setText(R.string.maintenance_desc_15);
						thanks.setText(R.string.thanks_15);
						language.setText(R.string.language_15);
						website.setText(R.string.website_15);
						discord.setText(R.string.discord_15);
						reddit.setText(R.string.reddit_15);
						faq.setText(R.string.faq_15);
						cloned_version.setText(R.string.cloned_version_15);
						cloned_version_info.setText(R.string.cloned_version_desc_15);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_15);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_15);
					    installation_failed.setText(R.string.installation_failed_15);
					    installation_failed_desc.setText(R.string.installation_failed_desc_15);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_15);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_15);
					    existing_patched.setText(R.string.existing_patched_15);
					    existing_patched_desc.setText(R.string.existing_patched_desc_15);
					    close.setText(R.string.close_15);
					    cloned.setText(R.string.cloned_15);
					    ream.setText(R.string.ream_15);
					    install.setText(R.string.install_15);
					    uninstall.setText(R.string.uninstall_15);
					    ignore.setText(R.string.ignore_15);
					    delete.setText(R.string.delete_15);
					    uninstall_patched.setText(R.string.uninstall_patched_15);
					    open_settings.setText(R.string.open_settings_15);
					    open_patched.setText(R.string.open_patched_15);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 16) {
					LANGUAGE.edit().putString("LANGUAGE", "16").commit();
					    title_1.setText(R.string.spotify_regular_16);
						title_2.setText(R.string.spotify_amoled_16);
						sub_text_installed.setText(R.string.installed_16);
						sub_text_1.setText(R.string.latest_16);
						sub_text_3.setText(R.string.latest_16);
						version_switch_1.setText(R.string.versions_16);
						version_switch_2.setText(R.string.versions_16);
						changelogs.setText(R.string.changelogs_16);
						title_sub.setText(R.string.manager_tools_16);
						device_cpu.setText(R.string.device_cpu_16);
						source.setText(R.string.source_16);
						support.setText(R.string.support_16);
						donate.setText(R.string.donate_16);
						about.setText(R.string.about_16);
						list_auto_refresh.setText(R.string.list_auto_refresh_16);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_16);
						force_auto_install.setText(R.string.force_auto_install_16);
						force_auto_install_info.setText(R.string.force_auto_install_desc_16);
						copy_url_mode.setText(R.string.copy_url_mode_16);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_16);
						navigation_bar.setText(R.string.hide_navigation_bar_16);
						theme.setText(R.string.show_themes_16);
						apk_location.setText(R.string.apk_location_16);
						apk_location_info.setText(R.string.apk_location_desc_16);
						clear_directory_folders.setText(R.string.clear_directory_folders_16);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_16);
						reset_settings.setText(R.string.reset_settings_16);
						sub_title.setText(R.string.about_sub_16);
						developer_manager.setText(R.string.xmanager_dev_16);
						developer_spotify.setText(R.string.spotify_mod_devs_16);
						support_team.setText(R.string.telegram_support_team_16);
						mod_testers_1.setText(R.string.manager_testers_16);
						mod_testers_2.setText(R.string.manager_hosting_16);
						mobilism_team.setText(R.string.mobilism_team_16);
						forum_team.setText(R.string.forum_team_16);
						manager_team.setText(R.string.xspotify_team_16);
						contributors_1.setText(R.string.contributors_16);
						download_selected.setText(R.string.download_selected_16);
						download_ready.setText(R.string.download_ready_16);
						download_ready_desc.setText(R.string.download_ready_desc_16);
						downloading_file.setText(R.string.downloading_file_16);
						download_success.setText(R.string.download_success_16);
						copy_url_desc.setText(R.string.copy_url_desc_16);
						new_update.setText(R.string.new_update_16);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_16);
						continue_1.setText(R.string.continue_1_16);
						cancel.setText(R.string.cancel_16);
						download.setText(R.string.download_16);
						later.setText(R.string.later_16);
						install_now.setText(R.string.install_now_16);
						install_update.setText(R.string.install_update_16);
						go_back.setText(R.string.go_back_16);
						download_update.setText(R.string.download_update_16);
						not_now.setText(R.string.not_now_16);
						show_support.setText(R.string.show_support_16);
						show_support_desc.setText(R.string.show_support_desc_16);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_16);
						settings_title.setText(R.string.settings_title_16);
						about_title.setText(R.string.about_title_16);
						maintenance.setText(R.string.maintenance_16);
						maintenance_desc.setText(R.string.maintenance_desc_16);
						thanks.setText(R.string.thanks_16);
						language.setText(R.string.language_16);
						website.setText(R.string.website_16);
						discord.setText(R.string.discord_16);
						reddit.setText(R.string.reddit_16);
						faq.setText(R.string.faq_16);
						cloned_version.setText(R.string.cloned_version_16);
						cloned_version_info.setText(R.string.cloned_version_desc_16);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_16);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_16);
					    installation_failed.setText(R.string.installation_failed_16);
					    installation_failed_desc.setText(R.string.installation_failed_desc_16);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_16);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_16);
					    existing_patched.setText(R.string.existing_patched_16);
					    existing_patched_desc.setText(R.string.existing_patched_desc_16);
					    close.setText(R.string.close_16);
					    cloned.setText(R.string.cloned_16);
					    ream.setText(R.string.ream_16);
					    install.setText(R.string.install_16);
					    uninstall.setText(R.string.uninstall_16);
					    ignore.setText(R.string.ignore_16);
					    delete.setText(R.string.delete_16);
					    uninstall_patched.setText(R.string.uninstall_patched_16);
					    open_settings.setText(R.string.open_settings_16);
					    open_patched.setText(R.string.open_patched_16);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 17) {
					LANGUAGE.edit().putString("LANGUAGE", "17").commit();
					    title_1.setText(R.string.spotify_regular_17);
						title_2.setText(R.string.spotify_amoled_17);
						sub_text_installed.setText(R.string.installed_17);
						sub_text_1.setText(R.string.latest_17);
						sub_text_3.setText(R.string.latest_17);
						version_switch_1.setText(R.string.versions_17);
						version_switch_2.setText(R.string.versions_17);
						changelogs.setText(R.string.changelogs_17);
						title_sub.setText(R.string.manager_tools_17);
						device_cpu.setText(R.string.device_cpu_17);
						source.setText(R.string.source_17);
						support.setText(R.string.support_17);
						donate.setText(R.string.donate_17);
						about.setText(R.string.about_17);
						list_auto_refresh.setText(R.string.list_auto_refresh_17);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_17);
						force_auto_install.setText(R.string.force_auto_install_17);
						force_auto_install_info.setText(R.string.force_auto_install_desc_17);
						copy_url_mode.setText(R.string.copy_url_mode_17);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_17);
						navigation_bar.setText(R.string.hide_navigation_bar_17);
						theme.setText(R.string.show_themes_17);
						apk_location.setText(R.string.apk_location_17);
						apk_location_info.setText(R.string.apk_location_desc_17);
						clear_directory_folders.setText(R.string.clear_directory_folders_17);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_17);
						reset_settings.setText(R.string.reset_settings_17);
						sub_title.setText(R.string.about_sub_17);
						developer_manager.setText(R.string.xmanager_dev_17);
						developer_spotify.setText(R.string.spotify_mod_devs_17);
						support_team.setText(R.string.telegram_support_team_17);
						mod_testers_1.setText(R.string.manager_testers_17);
						mod_testers_2.setText(R.string.manager_hosting_17);
						mobilism_team.setText(R.string.mobilism_team_17);
						forum_team.setText(R.string.forum_team_17);
						manager_team.setText(R.string.xspotify_team_17);
						contributors_1.setText(R.string.contributors_17);
						download_selected.setText(R.string.download_selected_17);
						download_ready.setText(R.string.download_ready_17);
						download_ready_desc.setText(R.string.download_ready_desc_17);
						downloading_file.setText(R.string.downloading_file_17);
						download_success.setText(R.string.download_success_17);
						copy_url_desc.setText(R.string.copy_url_desc_17);
						new_update.setText(R.string.new_update_17);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_17);
						continue_1.setText(R.string.continue_1_17);
						cancel.setText(R.string.cancel_17);
						download.setText(R.string.download_17);
						later.setText(R.string.later_17);
						install_now.setText(R.string.install_now_17);
						install_update.setText(R.string.install_update_17);
						go_back.setText(R.string.go_back_17);
						download_update.setText(R.string.download_update_17);
						not_now.setText(R.string.not_now_17);
						show_support.setText(R.string.show_support_17);
						show_support_desc.setText(R.string.show_support_desc_17);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_17);
						settings_title.setText(R.string.settings_title_17);
						about_title.setText(R.string.about_title_17);
						maintenance.setText(R.string.maintenance_17);
						maintenance_desc.setText(R.string.maintenance_desc_17);
						thanks.setText(R.string.thanks_17);
						language.setText(R.string.language_17);
						website.setText(R.string.website_17);
						discord.setText(R.string.discord_17);
						reddit.setText(R.string.reddit_17);
						faq.setText(R.string.faq_17);
						cloned_version.setText(R.string.cloned_version_17);
						cloned_version_info.setText(R.string.cloned_version_desc_17);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_17);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_17);
					    installation_failed.setText(R.string.installation_failed_17);
					    installation_failed_desc.setText(R.string.installation_failed_desc_17);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_17);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_17);
					    existing_patched.setText(R.string.existing_patched_17);
					    existing_patched_desc.setText(R.string.existing_patched_desc_17);
					    close.setText(R.string.close_17);
					    cloned.setText(R.string.cloned_17);
					    ream.setText(R.string.ream_17);
					    install.setText(R.string.install_17);
					    uninstall.setText(R.string.uninstall_17);
					    ignore.setText(R.string.ignore_17);
					    delete.setText(R.string.delete_17);
					    uninstall_patched.setText(R.string.uninstall_patched_17);
					    open_settings.setText(R.string.open_settings_17);
					    open_patched.setText(R.string.open_patched_17);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 18) {
					LANGUAGE.edit().putString("LANGUAGE", "18").commit();
					    title_1.setText(R.string.spotify_regular_18);
						title_2.setText(R.string.spotify_amoled_18);
						sub_text_installed.setText(R.string.installed_18);
						sub_text_1.setText(R.string.latest_18);
						sub_text_3.setText(R.string.latest_18);
						version_switch_1.setText(R.string.versions_18);
						version_switch_2.setText(R.string.versions_18);
						changelogs.setText(R.string.changelogs_18);
						title_sub.setText(R.string.manager_tools_18);
						device_cpu.setText(R.string.device_cpu_18);
						source.setText(R.string.source_18);
						support.setText(R.string.support_18);
						donate.setText(R.string.donate_18);
						about.setText(R.string.about_18);
						list_auto_refresh.setText(R.string.list_auto_refresh_18);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_18);
						force_auto_install.setText(R.string.force_auto_install_18);
						force_auto_install_info.setText(R.string.force_auto_install_desc_18);
						copy_url_mode.setText(R.string.copy_url_mode_18);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_18);
						navigation_bar.setText(R.string.hide_navigation_bar_18);
						theme.setText(R.string.show_themes_18);
						apk_location.setText(R.string.apk_location_18);
						apk_location_info.setText(R.string.apk_location_desc_18);
						clear_directory_folders.setText(R.string.clear_directory_folders_18);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_18);
						reset_settings.setText(R.string.reset_settings_18);
						sub_title.setText(R.string.about_sub_18);
						developer_manager.setText(R.string.xmanager_dev_18);
						developer_spotify.setText(R.string.spotify_mod_devs_18);
						support_team.setText(R.string.telegram_support_team_18);
						mod_testers_1.setText(R.string.manager_testers_18);
						mod_testers_2.setText(R.string.manager_hosting_18);
						mobilism_team.setText(R.string.mobilism_team_18);
						forum_team.setText(R.string.forum_team_18);
						manager_team.setText(R.string.xspotify_team_18);
						contributors_1.setText(R.string.contributors_18);
						download_selected.setText(R.string.download_selected_18);
						download_ready.setText(R.string.download_ready_18);
						download_ready_desc.setText(R.string.download_ready_desc_18);
						downloading_file.setText(R.string.downloading_file_18);
						download_success.setText(R.string.download_success_18);
						copy_url_desc.setText(R.string.copy_url_desc_18);
						new_update.setText(R.string.new_update_18);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_18);
						continue_1.setText(R.string.continue_1_18);
						cancel.setText(R.string.cancel_18);
						download.setText(R.string.download_18);
						later.setText(R.string.later_18);
						install_now.setText(R.string.install_now_18);
						install_update.setText(R.string.install_update_18);
						go_back.setText(R.string.go_back_18);
						download_update.setText(R.string.download_update_18);
						not_now.setText(R.string.not_now_18);
						show_support.setText(R.string.show_support_18);
						show_support_desc.setText(R.string.show_support_desc_18);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_18);
						settings_title.setText(R.string.settings_title_18);
						about_title.setText(R.string.about_title_18);
						maintenance.setText(R.string.maintenance_18);
						maintenance_desc.setText(R.string.maintenance_desc_18);
						thanks.setText(R.string.thanks_18);
						language.setText(R.string.language_18);
						website.setText(R.string.website_18);
						discord.setText(R.string.discord_18);
						reddit.setText(R.string.reddit_18);
						faq.setText(R.string.faq_18);
						cloned_version.setText(R.string.cloned_version_18);
						cloned_version_info.setText(R.string.cloned_version_desc_18);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_18);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_18);
					    installation_failed.setText(R.string.installation_failed_18);
					    installation_failed_desc.setText(R.string.installation_failed_desc_18);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_18);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_18);
					    existing_patched.setText(R.string.existing_patched_18);
					    existing_patched_desc.setText(R.string.existing_patched_desc_18);
					    close.setText(R.string.close_18);
					    cloned.setText(R.string.cloned_18);
					    ream.setText(R.string.ream_18);
					    install.setText(R.string.install_18);
					    uninstall.setText(R.string.uninstall_18);
					    ignore.setText(R.string.ignore_18);
					    delete.setText(R.string.delete_18);
					    uninstall_patched.setText(R.string.uninstall_patched_18);
					    open_settings.setText(R.string.open_settings_18);
					    open_patched.setText(R.string.open_patched_18);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 19) {
					LANGUAGE.edit().putString("LANGUAGE", "19").commit();
					    title_1.setText(R.string.spotify_regular_19);
						title_2.setText(R.string.spotify_amoled_19);
						sub_text_installed.setText(R.string.installed_19);
						sub_text_1.setText(R.string.latest_19);
						sub_text_3.setText(R.string.latest_19);
						version_switch_1.setText(R.string.versions_19);
						version_switch_2.setText(R.string.versions_19);
						changelogs.setText(R.string.changelogs_19);
						title_sub.setText(R.string.manager_tools_19);
						device_cpu.setText(R.string.device_cpu_19);
						source.setText(R.string.source_19);
						support.setText(R.string.support_19);
						donate.setText(R.string.donate_19);
						about.setText(R.string.about_19);
						list_auto_refresh.setText(R.string.list_auto_refresh_19);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_19);
						force_auto_install.setText(R.string.force_auto_install_19);
						force_auto_install_info.setText(R.string.force_auto_install_desc_19);
						copy_url_mode.setText(R.string.copy_url_mode_19);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_19);
						navigation_bar.setText(R.string.hide_navigation_bar_19);
						theme.setText(R.string.show_themes_19);
						apk_location.setText(R.string.apk_location_19);
						apk_location_info.setText(R.string.apk_location_desc_19);
						clear_directory_folders.setText(R.string.clear_directory_folders_19);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_19);
						reset_settings.setText(R.string.reset_settings_19);
						sub_title.setText(R.string.about_sub_19);
						developer_manager.setText(R.string.xmanager_dev_19);
						developer_spotify.setText(R.string.spotify_mod_devs_19);
						support_team.setText(R.string.telegram_support_team_19);
						mod_testers_1.setText(R.string.manager_testers_19);
						mod_testers_2.setText(R.string.manager_hosting_19);
						mobilism_team.setText(R.string.mobilism_team_19);
						forum_team.setText(R.string.forum_team_19);
						manager_team.setText(R.string.xspotify_team_19);
						contributors_1.setText(R.string.contributors_19);
						download_selected.setText(R.string.download_selected_19);
						download_ready.setText(R.string.download_ready_19);
						download_ready_desc.setText(R.string.download_ready_desc_19);
						downloading_file.setText(R.string.downloading_file_19);
						download_success.setText(R.string.download_success_19);
						copy_url_desc.setText(R.string.copy_url_desc_19);
						new_update.setText(R.string.new_update_19);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_19);
						continue_1.setText(R.string.continue_1_19);
						cancel.setText(R.string.cancel_19);
						download.setText(R.string.download_19);
						later.setText(R.string.later_19);
						install_now.setText(R.string.install_now_19);
						install_update.setText(R.string.install_update_19);
						go_back.setText(R.string.go_back_19);
						download_update.setText(R.string.download_update_19);
						not_now.setText(R.string.not_now_19);
						show_support.setText(R.string.show_support_19);
						show_support_desc.setText(R.string.show_support_desc_19);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_19);
						settings_title.setText(R.string.settings_title_19);
						about_title.setText(R.string.about_title_19);
						maintenance.setText(R.string.maintenance_19);
						maintenance_desc.setText(R.string.maintenance_desc_19);
						thanks.setText(R.string.thanks_19);
						language.setText(R.string.language_19);
						website.setText(R.string.website_19);
						discord.setText(R.string.discord_19);
						reddit.setText(R.string.reddit_19);
						faq.setText(R.string.faq_19);
						cloned_version.setText(R.string.cloned_version_19);
						cloned_version_info.setText(R.string.cloned_version_desc_19);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_19);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_19);
					    installation_failed.setText(R.string.installation_failed_19);
					    installation_failed_desc.setText(R.string.installation_failed_desc_19);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_19);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_19);
					    existing_patched.setText(R.string.existing_patched_19);
					    existing_patched_desc.setText(R.string.existing_patched_desc_19);
					    close.setText(R.string.close_19);
					    cloned.setText(R.string.cloned_19);
					    ream.setText(R.string.ream_19);
					    install.setText(R.string.install_19);
					    uninstall.setText(R.string.uninstall_19);
					    ignore.setText(R.string.ignore_19);
					    delete.setText(R.string.delete_19);
					    uninstall_patched.setText(R.string.uninstall_patched_19);
					    open_settings.setText(R.string.open_settings_19);
					    open_patched.setText(R.string.open_patched_19);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 20) {
					LANGUAGE.edit().putString("LANGUAGE", "20").commit();
					    title_1.setText(R.string.spotify_regular_20);
						title_2.setText(R.string.spotify_amoled_20);
						sub_text_installed.setText(R.string.installed_20);
						sub_text_1.setText(R.string.latest_20);
						sub_text_3.setText(R.string.latest_20);
						version_switch_1.setText(R.string.versions_20);
						version_switch_2.setText(R.string.versions_20);
						changelogs.setText(R.string.changelogs_20);
						title_sub.setText(R.string.manager_tools_20);
						device_cpu.setText(R.string.device_cpu_20);
						source.setText(R.string.source_20);
						support.setText(R.string.support_20);
						donate.setText(R.string.donate_20);
						about.setText(R.string.about_20);
						list_auto_refresh.setText(R.string.list_auto_refresh_20);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_20);
						force_auto_install.setText(R.string.force_auto_install_20);
						force_auto_install_info.setText(R.string.force_auto_install_desc_20);
						copy_url_mode.setText(R.string.copy_url_mode_20);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_20);
						navigation_bar.setText(R.string.hide_navigation_bar_20);
						theme.setText(R.string.show_themes_20);
						apk_location.setText(R.string.apk_location_20);
						apk_location_info.setText(R.string.apk_location_desc_20);
						clear_directory_folders.setText(R.string.clear_directory_folders_20);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_20);
						reset_settings.setText(R.string.reset_settings_20);
						sub_title.setText(R.string.about_sub_20);
						developer_manager.setText(R.string.xmanager_dev_20);
						developer_spotify.setText(R.string.spotify_mod_devs_20);
						support_team.setText(R.string.telegram_support_team_20);
						mod_testers_1.setText(R.string.manager_testers_20);
						mod_testers_2.setText(R.string.manager_hosting_20);
						mobilism_team.setText(R.string.mobilism_team_20);
						forum_team.setText(R.string.forum_team_20);
						manager_team.setText(R.string.xspotify_team_20);
						contributors_1.setText(R.string.contributors_20);
						download_selected.setText(R.string.download_selected_20);
						download_ready.setText(R.string.download_ready_20);
						download_ready_desc.setText(R.string.download_ready_desc_20);
						downloading_file.setText(R.string.downloading_file_20);
						download_success.setText(R.string.download_success_20);
						copy_url_desc.setText(R.string.copy_url_desc_20);
						new_update.setText(R.string.new_update_20);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_20);
						continue_1.setText(R.string.continue_1_20);
						cancel.setText(R.string.cancel_20);
						download.setText(R.string.download_20);
						later.setText(R.string.later_20);
						install_now.setText(R.string.install_now_20);
						install_update.setText(R.string.install_update_20);
						go_back.setText(R.string.go_back_20);
						download_update.setText(R.string.download_update_20);
						not_now.setText(R.string.not_now_20);
						show_support.setText(R.string.show_support_20);
						show_support_desc.setText(R.string.show_support_desc_20);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_20);
						settings_title.setText(R.string.settings_title_20);
						about_title.setText(R.string.about_title_20);
						maintenance.setText(R.string.maintenance_20);
						maintenance_desc.setText(R.string.maintenance_desc_20);
						thanks.setText(R.string.thanks_20);
						language.setText(R.string.language_20);
						website.setText(R.string.website_20);
						discord.setText(R.string.discord_20);
						reddit.setText(R.string.reddit_20);
						faq.setText(R.string.faq_20);
						cloned_version.setText(R.string.cloned_version_20);
						cloned_version_info.setText(R.string.cloned_version_desc_20);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_20);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_20);
					    installation_failed.setText(R.string.installation_failed_20);
					    installation_failed_desc.setText(R.string.installation_failed_desc_20);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_20);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_20);
					    existing_patched.setText(R.string.existing_patched_20);
					    existing_patched_desc.setText(R.string.existing_patched_desc_20);
					    close.setText(R.string.close_20);
					    cloned.setText(R.string.cloned_20);
					    ream.setText(R.string.ream_20);
					    install.setText(R.string.install_20);
					    uninstall.setText(R.string.uninstall_20);
					    ignore.setText(R.string.ignore_20);
					    delete.setText(R.string.delete_20);
					    uninstall_patched.setText(R.string.uninstall_patched_20);
					    open_settings.setText(R.string.open_settings_20);
					    open_patched.setText(R.string.open_patched_20);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 21) {
					LANGUAGE.edit().putString("LANGUAGE", "21").commit();
					    title_1.setText(R.string.spotify_regular_21);
						title_2.setText(R.string.spotify_amoled_21);
						sub_text_installed.setText(R.string.installed_21);
						sub_text_1.setText(R.string.latest_21);
						sub_text_3.setText(R.string.latest_21);
						version_switch_1.setText(R.string.versions_21);
						version_switch_2.setText(R.string.versions_21);
						changelogs.setText(R.string.changelogs_21);
						title_sub.setText(R.string.manager_tools_21);
						device_cpu.setText(R.string.device_cpu_21);
						source.setText(R.string.source_21);
						support.setText(R.string.support_21);
						donate.setText(R.string.donate_21);
						about.setText(R.string.about_21);
						list_auto_refresh.setText(R.string.list_auto_refresh_21);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_21);
						force_auto_install.setText(R.string.force_auto_install_21);
						force_auto_install_info.setText(R.string.force_auto_install_desc_21);
						copy_url_mode.setText(R.string.copy_url_mode_21);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_21);
						navigation_bar.setText(R.string.hide_navigation_bar_21);
						theme.setText(R.string.show_themes_21);
						apk_location.setText(R.string.apk_location_21);
						apk_location_info.setText(R.string.apk_location_desc_21);
						clear_directory_folders.setText(R.string.clear_directory_folders_21);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_21);
						reset_settings.setText(R.string.reset_settings_21);
						sub_title.setText(R.string.about_sub_21);
						developer_manager.setText(R.string.xmanager_dev_21);
						developer_spotify.setText(R.string.spotify_mod_devs_21);
						support_team.setText(R.string.telegram_support_team_21);
						mod_testers_1.setText(R.string.manager_testers_21);
						mod_testers_2.setText(R.string.manager_hosting_21);
						mobilism_team.setText(R.string.mobilism_team_21);
						forum_team.setText(R.string.forum_team_21);
						manager_team.setText(R.string.xspotify_team_21);
						contributors_1.setText(R.string.contributors_21);
						download_selected.setText(R.string.download_selected_21);
						download_ready.setText(R.string.download_ready_21);
						download_ready_desc.setText(R.string.download_ready_desc_21);
						downloading_file.setText(R.string.downloading_file_21);
						download_success.setText(R.string.download_success_21);
						copy_url_desc.setText(R.string.copy_url_desc_21);
						new_update.setText(R.string.new_update_21);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_21);
						continue_1.setText(R.string.continue_1_21);
						cancel.setText(R.string.cancel_21);
						download.setText(R.string.download_21);
						later.setText(R.string.later_21);
						install_now.setText(R.string.install_now_21);
						install_update.setText(R.string.install_update_21);
						go_back.setText(R.string.go_back_21);
						download_update.setText(R.string.download_update_21);
						not_now.setText(R.string.not_now_21);
						show_support.setText(R.string.show_support_21);
						show_support_desc.setText(R.string.show_support_desc_21);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_21);
						settings_title.setText(R.string.settings_title_21);
						about_title.setText(R.string.about_title_21);
						maintenance.setText(R.string.maintenance_21);
						maintenance_desc.setText(R.string.maintenance_desc_21);
						thanks.setText(R.string.thanks_21);
						language.setText(R.string.language_21);
						website.setText(R.string.website_21);
						discord.setText(R.string.discord_21);
						reddit.setText(R.string.reddit_21);
						faq.setText(R.string.faq_21);
						cloned_version.setText(R.string.cloned_version_21);
						cloned_version_info.setText(R.string.cloned_version_desc_21);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_21);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_21);
					    installation_failed.setText(R.string.installation_failed_21);
					    installation_failed_desc.setText(R.string.installation_failed_desc_21);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_21);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_21);
					    existing_patched.setText(R.string.existing_patched_21);
					    existing_patched_desc.setText(R.string.existing_patched_desc_21);
					    close.setText(R.string.close_21);
					    cloned.setText(R.string.cloned_21);
					    ream.setText(R.string.ream_21);
					    install.setText(R.string.install_21);
					    uninstall.setText(R.string.uninstall_21);
					    ignore.setText(R.string.ignore_21);
					    delete.setText(R.string.delete_21);
					    uninstall_patched.setText(R.string.uninstall_patched_21);
					    open_settings.setText(R.string.open_settings_21);
					    open_patched.setText(R.string.open_patched_21);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
				if (_position == 22) {
					LANGUAGE.edit().putString("LANGUAGE", "22").commit();
					    title_1.setText(R.string.spotify_regular_22);
						title_2.setText(R.string.spotify_amoled_22);
						sub_text_installed.setText(R.string.installed_22);
						sub_text_1.setText(R.string.latest_22);
						sub_text_3.setText(R.string.latest_22);
						version_switch_1.setText(R.string.versions_22);
						version_switch_2.setText(R.string.versions_22);
						changelogs.setText(R.string.changelogs_22);
						title_sub.setText(R.string.manager_tools_22);
						device_cpu.setText(R.string.device_cpu_22);
						source.setText(R.string.source_22);
						support.setText(R.string.support_22);
						donate.setText(R.string.donate_22);
						about.setText(R.string.about_22);
						list_auto_refresh.setText(R.string.list_auto_refresh_22);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_22);
						force_auto_install.setText(R.string.force_auto_install_22);
						force_auto_install_info.setText(R.string.force_auto_install_desc_22);
						copy_url_mode.setText(R.string.copy_url_mode_22);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_22);
						navigation_bar.setText(R.string.hide_navigation_bar_22);
						theme.setText(R.string.show_themes_22);
						apk_location.setText(R.string.apk_location_22);
						apk_location_info.setText(R.string.apk_location_desc_22);
						clear_directory_folders.setText(R.string.clear_directory_folders_22);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_22);
						reset_settings.setText(R.string.reset_settings_22);
						sub_title.setText(R.string.about_sub_22);
						developer_manager.setText(R.string.xmanager_dev_22);
						developer_spotify.setText(R.string.spotify_mod_devs_22);
						support_team.setText(R.string.telegram_support_team_22);
						mod_testers_1.setText(R.string.manager_testers_22);
						mod_testers_2.setText(R.string.manager_hosting_22);
						mobilism_team.setText(R.string.mobilism_team_22);
						forum_team.setText(R.string.forum_team_22);
						manager_team.setText(R.string.xspotify_team_22);
						contributors_1.setText(R.string.contributors_22);
						download_selected.setText(R.string.download_selected_22);
						download_ready.setText(R.string.download_ready_22);
						download_ready_desc.setText(R.string.download_ready_desc_22);
						downloading_file.setText(R.string.downloading_file_22);
						download_success.setText(R.string.download_success_22);
						copy_url_desc.setText(R.string.copy_url_desc_22);
						new_update.setText(R.string.new_update_22);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_22);
						continue_1.setText(R.string.continue_1_22);
						cancel.setText(R.string.cancel_22);
						download.setText(R.string.download_22);
						later.setText(R.string.later_22);
						install_now.setText(R.string.install_now_22);
						install_update.setText(R.string.install_update_22);
						go_back.setText(R.string.go_back_22);
						download_update.setText(R.string.download_update_22);
						not_now.setText(R.string.not_now_22);
						show_support.setText(R.string.show_support_22);
						show_support_desc.setText(R.string.show_support_desc_22);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_22);
						settings_title.setText(R.string.settings_title_22);
						about_title.setText(R.string.about_title_22);
						maintenance.setText(R.string.maintenance_22);
						maintenance_desc.setText(R.string.maintenance_desc_22);
						thanks.setText(R.string.thanks_22);
						language.setText(R.string.language_22);
						website.setText(R.string.website_22);
						discord.setText(R.string.discord_22);
						reddit.setText(R.string.reddit_22);
						faq.setText(R.string.faq_22);
						cloned_version.setText(R.string.cloned_version_22);
						cloned_version_info.setText(R.string.cloned_version_desc_22);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_22);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_22);
					    installation_failed.setText(R.string.installation_failed_22);
					    installation_failed_desc.setText(R.string.installation_failed_desc_22);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_22);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_22);
					    existing_patched.setText(R.string.existing_patched_22);
					    existing_patched_desc.setText(R.string.existing_patched_desc_22);
					    close.setText(R.string.close_22);
					    cloned.setText(R.string.cloned_22);
					    ream.setText(R.string.ream_22);
					    install.setText(R.string.install_22);
					    uninstall.setText(R.string.uninstall_22);
					    ignore.setText(R.string.ignore_22);
					    delete.setText(R.string.delete_22);
					    uninstall_patched.setText(R.string.uninstall_patched_22);
					    open_settings.setText(R.string.open_settings_22);
					    open_patched.setText(R.string.open_patched_22);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					COUNTER = 1;
				}
			}
			
			@Override
			public void onNothingSelected(AdapterView<?> _param1) {
				
			}
		});
		
		apk_path_location.addTextChangedListener(new TextWatcher() {
			@Override
			public void onTextChanged(CharSequence _param1, int _param2, int _param3, int _param4) {
				final String _charSeq = _param1.toString();
				PATH = _charSeq;
				_Default_Path();
			}
			
			@Override
			public void beforeTextChanged(CharSequence _param1, int _param2, int _param3, int _param4) {
				
			}
			
			@Override
			public void afterTextChanged(Editable _param1) {
				
			}
		});
		
		box_reset_settings.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				version_switch_01.setChecked(false);
				version_switch_02.setChecked(false);
				changelogs_switch.setChecked(false);
				cloned_version_switch.setChecked(false);
				list_auto_refresh_switch.setChecked(false);
				force_auto_install_switch.setChecked(false);
				copy_url_mode_switch.setChecked(false);
				disable_reward_ad_switch.setChecked(false);
				navigation_switch.setChecked(false);
				apk_path_location.setText("/storage/emulated/0/xManager/");
				main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF000000}));
				main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF000000}));
				main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF000000}));
				    title_1.setText(R.string.spotify_regular);
					title_2.setText(R.string.spotify_amoled);
					sub_text_installed.setText(R.string.installed);
					sub_text_1.setText(R.string.latest);
					sub_text_3.setText(R.string.latest);
					version_switch_1.setText(R.string.versions);
					version_switch_2.setText(R.string.versions);
					changelogs.setText(R.string.changelogs);
					title_sub.setText(R.string.manager_tools);
					device_cpu.setText(R.string.device_cpu);
					source.setText(R.string.source);
					support.setText(R.string.support);
					donate.setText(R.string.donate);
					about.setText(R.string.about);
					list_auto_refresh.setText(R.string.list_auto_refresh);
					list_auto_refresh_info.setText(R.string.list_auto_refresh_desc);
					force_auto_install.setText(R.string.force_auto_install);
					force_auto_install_info.setText(R.string.force_auto_install_desc);
					copy_url_mode.setText(R.string.copy_url_mode);
					copy_file_url_mode_info.setText(R.string.copy_url_mode_desc);
					navigation_bar.setText(R.string.hide_navigation_bar);
					theme.setText(R.string.show_themes);
					apk_location.setText(R.string.apk_location);
					apk_location_info.setText(R.string.apk_location_desc);
					clear_directory_folders.setText(R.string.clear_directory_folders);
					clear_directory_folders_info.setText(R.string.clear_directory_folders_desc);
					reset_settings.setText(R.string.reset_settings);
					sub_title.setText(R.string.about_sub);
					developer_manager.setText(R.string.xmanager_dev);
					developer_spotify.setText(R.string.spotify_mod_devs);
					support_team.setText(R.string.telegram_support_team);
					mod_testers_1.setText(R.string.manager_testers);
					mod_testers_2.setText(R.string.manager_hosting);
					mobilism_team.setText(R.string.mobilism_team);
					forum_team.setText(R.string.forum_team);
					manager_team.setText(R.string.xspotify_team);
					contributors_1.setText(R.string.contributors);
					download_selected.setText(R.string.download_selected);
					download_ready.setText(R.string.download_ready);
					download_ready_desc.setText(R.string.download_ready_desc);
					downloading_file.setText(R.string.downloading_file);
					download_success.setText(R.string.download_success);
					copy_url_desc.setText(R.string.copy_url_desc);
					new_update.setText(R.string.new_update);
					download_selected_0 = download_selected.getText().toString();
					download_ready_0 = download_ready.getText().toString();
					download_ready_desc_0 = download_ready_desc.getText().toString();
					downloading_file_0 = downloading_file.getText().toString();
					download_success_0 = download_success.getText().toString();
					copy_url_desc_0 = copy_url_desc.getText().toString();
					copy_url.setText(R.string.copy_url);
					continue_1.setText(R.string.continue_1);
					cancel.setText(R.string.cancel);
					download.setText(R.string.download);
					later.setText(R.string.later);
					install_now.setText(R.string.install_now);
					install_update.setText(R.string.install_update);
					go_back.setText(R.string.go_back_01);
					download_update.setText(R.string.download_update);
					not_now.setText(R.string.not_now);
					show_support.setText(R.string.show_support);
					show_support_desc.setText(R.string.show_support_desc);
					copy_url_0 = copy_url.getText().toString();
					download_0 = download.getText().toString();
					continue_0 = continue_1.getText().toString();
					cancel_0 = cancel.getText().toString();
					later_0 = later.getText().toString();
					install_now_0 = install_now.getText().toString();
					go_back_0 = go_back.getText().toString();
					install_update_0 = install_update.getText().toString();
					main_title.setText(R.string.main_title);
					settings_title.setText(R.string.settings_title);
					about_title.setText(R.string.about_title);
					maintenance.setText(R.string.maintenance);
					maintenance_desc.setText(R.string.maintenance_desc);
					thanks.setText(R.string.thanks);
					language.setText(R.string.language);
					website.setText(R.string.website);
					discord.setText(R.string.discord);
					reddit.setText(R.string.reddit);
					faq.setText(R.string.faq);
					cloned_version.setText(R.string.cloned_version);
					cloned_version_info.setText(R.string.cloned_version_desc);
				    disable_reward_ad.setText(R.string.disable_rewarded_ads);
				    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc);
				    installation_failed.setText(R.string.installation_failed);
				    installation_failed_desc.setText(R.string.installation_failed_desc);
				    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc);
				    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc);
				    existing_patched.setText(R.string.existing_patched);
				    existing_patched_desc.setText(R.string.existing_patched_desc);
				    close.setText(R.string.close);
				    cloned.setText(R.string.cloned);
				    ream.setText(R.string.ream);
				    install.setText(R.string.install);
				    uninstall.setText(R.string.uninstall);
				    ignore.setText(R.string.ignore);
				    delete.setText(R.string.delete);
				    uninstall_patched.setText(R.string.uninstall_patched);
				    open_settings.setText(R.string.open_settings);
				    open_patched.setText(R.string.open_patched);
					installation_failed_0 = installation_failed.getText().toString();
				    installation_failed_desc_0 = installation_failed_desc.getText().toString();
				    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
				    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
				    existing_patched_0 = existing_patched.getText().toString();
				    existing_patched_desc_0 = existing_patched_desc.getText().toString();
				    close_0 = close.getText().toString();
				    uninstall_0 = uninstall.getText().toString();

				select_language.setSelection((int)(0));
				select_theme.setSelection((int)(0));
				if (COUNTER == 1) {
					com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Back to default settings", com.google.android.material.snackbar.Snackbar.LENGTH_SHORT).setAction("", new View.OnClickListener(){
						@Override
						public void onClick(View _view) {
							 
						}
					}).show();
				}
				_Tap_Animation(box_reset_settings);
				COUNTER = 0;
			}
		});
		
		box_icon_close.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				RippleAnimation.create(box_icon_close).setDuration((long)1000).start();
				main_body_optimization.setVisibility(View.GONE);
				main_scroll_settings.setVisibility(View.GONE);
				main_scroll_about.setVisibility(View.GONE);
				main_refresh_layout.setVisibility(View.VISIBLE);
				box_update.setVisibility(View.VISIBLE);
				box_switch.setVisibility(View.VISIBLE);
				title_header.setText(main_title.getText().toString());
				title_header_beta.setTextColor(0xFFFFFFFF);
				title_header_separator.setTextColor(0xFFFFFFFF);
				Animation header_beta;
				header_beta = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
				header_beta.setDuration(200); title_header_beta.startAnimation(header_beta);
				header_beta = null;
				_Tap_Animation(box_icon_close);
				CLOSER_1 = 0;
				_Animation_0();
				_Url_Mode();
			}
		});
		
		list_menu_1.setOnItemClickListener(new AdapterView.OnItemClickListener() {
			@Override
			public void onItemClick(AdapterView<?> _param1, View _param2, int _param3, long _param4) {
				final int _position = _param3;
				try {
					if (COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_ON")) {
						final AlertDialog.Builder Selected_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
						
						String Title = "<b>".concat(download_ready_0.concat("</b>"));
						String TitleColor = "1DB954";
						
						Selected_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
						if (_position < 2) {
							if ((_position % 2) == 0) {
								String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(regular.get((int)(regular.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
							else {
								String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(regular.get((int)(regular.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
						}
						else {
							if ((_position % 2) == 1) {
								String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(regular.get((int)(regular.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
							else {
								String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(regular.get((int)(regular.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
						}
						Selected_Patched.setPositiveButton(copy_url_0, new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Selected_Patched, int p) {
								try {
									if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
										AlertDialog.setCancelable(true);
										((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", regular.get((int)(regular.size() - 1) - _position).get("Link").toString()));
										SketchwareUtil.showMessage(getApplicationContext(), "Copied Successfully");
										Timer = new TimerTask() {
											@Override
											public void run() {
												runOnUiThread(new Runnable() {
													@Override
													public void run() {
														_Hide_Navigation();
													}
												});
											}
										};
										_timer.schedule(Timer, (int)(100));
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       Timer = new TimerTask() {
														@Override
														public void run() {
															runOnUiThread(new Runnable() {
																@Override
																public void run() {
																	AlertDialog.setCancelable(true);
																	((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", regular.get((int)(regular.size() - 1) - _position).get("Link").toString()));
																	SketchwareUtil.showMessage(getApplicationContext(), "Copied Successfully");
																	Timer = new TimerTask() {
																		@Override
																		public void run() {
																			runOnUiThread(new Runnable() {
																				@Override
																				public void run() {
																					_Hide_Navigation();
																				}
																			});
																		}
																	};
																	_timer.schedule(Timer, (int)(100));
																}
															});
														}
													};
													_timer.schedule(Timer, (int)(1000));
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											if (UnityAds.isReady(placementRewardedVideo)) {
												AlertDialog.setCancelable(true);
												DOWNLOAD.edit().putString("PATCHED", regular.get((int)(regular.size() - 1) - _position).get("Link").toString()).commit();
												Timer = new TimerTask() {
													@Override
													public void run() {
														runOnUiThread(new Runnable() {
															@Override
															public void run() {
																_Hide_Navigation();
															}
														});
													}
												};
												_timer.schedule(Timer, (int)(100));
												_Rewarded_Unity();
											}
											else {
												AlertDialog.setCancelable(true);
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", regular.get((int)(regular.size() - 1) - _position).get("Link").toString()));
												SketchwareUtil.showMessage(getApplicationContext(), "Copied Successfully");
												Timer = new TimerTask() {
													@Override
													public void run() {
														runOnUiThread(new Runnable() {
															@Override
															public void run() {
																_Hide_Navigation();
															}
														});
													}
												};
												_timer.schedule(Timer, (int)(100));
											}
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Selected_Patched, int p) {
								AlertDialog.setCancelable(true);
								Timer = new TimerTask() {
									@Override
									public void run() {
										runOnUiThread(new Runnable() {
											@Override
											public void run() {
												_Hide_Navigation();
											}
										});
									}
								};
								_timer.schedule(Timer, (int)(100));
								                }
							            });
						AlertDialog = Selected_Patched.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
						FileUtil.makeDir("/storage/emulated/0/xManager");
						FileUtil.makeDir("/storage/emulated/0/xManager/Update");
						DELETE = 1;
					}
					else {
						if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk") || FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")) {
							final AlertDialog.Builder File_Exist = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
							
							String Title = "<b>".concat(existing_patched.getText().toString().concat("</b>"));
							String TitleColor = "1DB954";
							
							File_Exist.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
							String Message = existing_patched_desc.getText().toString();
							String MessageColor = "FFFFFF";
							
							File_Exist.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							File_Exist.setPositiveButton(install.getText().toString(), new DialogInterface.OnClickListener(){
								
								                @Override
								                public void onClick(DialogInterface File_Exist, int p) {
									AlertDialog.setCancelable(true);
									if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk") || (FileUtil.isExistFile(apk_path_location.getText().toString().concat("Spotify Mod (Official).apk")) || FileUtil.isExistFile("/storage/emulated/0/xManager/Spotify Mod (Official).apk"))) {
										if ((Installed_Version < Downloaded_Version) || ((Downloaded_Version > Installed_Version) || ((Installed_Version == Downloaded_Version) || Installed_Checker.equals("false")))) {
												if (getISignature(getApplicationContext()).equals(getDSignature(getApplicationContext())) || Installed_Checker.equals("false")) {
														StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
														if(android.os.Build.VERSION.SDK_INT >= 29){
																try {
																		Intent intent = new Intent(Intent.ACTION_VIEW);
																		intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
																		intent.setDataAndType(FileProvider.getUriForFile(MainActivity.this, "com.xc3fff0e.xmanager.provider", new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
																		startActivity(intent);
																}
																catch(Exception e) {
																		SketchwareUtil.CustomToast(getApplicationContext(), "Installation Failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
																}
														} else {
																try {
																		Intent intent = new Intent(Intent.ACTION_VIEW);
																		intent.setDataAndType(Uri.fromFile(new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
																		startActivity(intent);
																		Timer = new TimerTask() {
																				@Override
																				public void run() {
																						runOnUiThread(new Runnable() {
																								@Override
																								public void run() {
																										_Hide_Navigation();
																								}
																						});
																				}
																		};
																		_timer.schedule(Timer, (int)(100));
																}
																catch(Exception e) {
																		SketchwareUtil.CustomToast(getApplicationContext(), "Installation Failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
																}
														} 
												} else {
														final AlertDialog.Builder Signature_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
														String Title = "<b>".concat(installation_failed_0.concat("</b>"));
														String TitleColor = "1DB954";
														Signature_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
														String Message = installation_failed_ream_desc_0.replace("\n", "<br/>");
														String MessageColor = "FFFFFF";
														Signature_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
														Signature_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Signature_Check, int p) {
																		AlertDialog.setCancelable(true);
																		try {
																				Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.music")); 
																				startActivity(intent);
																		}
																		catch(Exception e) {
																		}
																}
														});
														Signature_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Signature_Check, int p) {
																		AlertDialog.setCancelable(true);
																}
														});
														AlertDialog = Signature_Check.create();
														AlertDialog.setCancelable(false);
														AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
														AlertDialog.show();
												}	
										}
										else {
												if (Downloaded_Version < Installed_Version) {
														final AlertDialog.Builder Downgrade_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
														String Title = "<b>".concat(installation_failed_0.concat("</b>"));
														String TitleColor = "1DB954";
														Downgrade_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
														String Message = installation_failed_desc_0.replace("\n", "<br/>");
														String MessageColor = "FFFFFF";
														Downgrade_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
														Downgrade_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Downgrade_Check, int p) {
																		AlertDialog.setCancelable(true);
																		try {
																				Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.music")); 
																				startActivity(intent);
																		}
																		catch(Exception e) {
																		}
																}
														});
														Downgrade_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Downgrade_Check, int p) {
																		AlertDialog.setCancelable(true);
																}
														});
														AlertDialog = Downgrade_Check.create();
														AlertDialog.setCancelable(false);
														AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
														AlertDialog.show();
												}
										}	
										
										_Hide_Navigation();
									}
									                }
								            });
							File_Exist.setNegativeButton(delete.getText().toString(), new DialogInterface.OnClickListener(){
								
								                @Override
								                public void onClick(DialogInterface File_Exist, int p) {
									
									AlertDialog.setCancelable(true);
									SketchwareUtil.showMessage(getApplicationContext(), "Patched File Deleted");
									FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk");
									FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk");
									FileUtil.deleteFile(apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"));
									FileUtil.deleteFile(apk_path_location.getText().toString().concat("Spotify Mod (Official) [Cloned].apk"));
									FileUtil.deleteFile("/storage/emulated/0/xManager/Spotify Mod (Official).apk");
									FileUtil.deleteFile("/storage/emulated/0/xManager/Spotify Mod (Official) [Cloned].apk");
									_Hide_Navigation();
									                }
								            });
							 File_Exist.setNeutralButton(ignore.getText().toString(), new DialogInterface.OnClickListener(){
								
								                @Override
								                public void onClick(DialogInterface File_Exist, int p) {
									AlertDialog.setCancelable(true);
									_Hide_Navigation();
									final AlertDialog.Builder Download_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
									
									String Title = "<b>".concat(download_ready_0.concat("</b>"));
									String TitleColor = "1DB954";
									
									Download_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
									if (_position < 2) {
										if ((_position % 2) == 0) {
											String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(regular.get((int)(regular.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
										else {
											String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(regular.get((int)(regular.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
									}
									else {
										if ((_position % 2) == 1) {
											String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(regular.get((int)(regular.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
										else {
											String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(regular.get((int)(regular.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
									}
									Download_Patched.setPositiveButton(download_0, new DialogInterface.OnClickListener(){
										
										                @Override
										                public void onClick(DialogInterface Download_Patched, int p) {
											try {
												if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
													AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install(regular.get((int)(regular.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download(regular.get((int)(regular.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														}
													}
													_File_Remover();
												}
												else {
													if (mRewardedAd != null) {
														  Activity activityContext = MainActivity.this;
														  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
															    @Override
															    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
																       Timer = new TimerTask() {
																	@Override
																	public void run() {
																		runOnUiThread(new Runnable() {
																			@Override
																			public void run() {
																				AlertDialog.setCancelable(true);
																				if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																					_Download_Install(regular.get((int)(regular.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																				}
																				else {
																					if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																						_Download(regular.get((int)(regular.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																					}
																				}
																				_File_Remover();
																			}
																		});
																	}
																};
																_timer.schedule(Timer, (int)(1000));
																      int rewardAmount = rewardItem.getAmount();
																      String rewardType = rewardItem.getType();
																    }
															  });
													} else {
														if (UnityAds.isReady(placementRewardedVideo)) {
															AlertDialog.setCancelable(true);
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																DOWNLOAD.edit().putString("PATCHED", regular.get((int)(regular.size() - 1) - _position).get("Link").toString()).commit();
															}
															else {
																if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																	DOWNLOAD.edit().putString("PATCHED", regular.get((int)(regular.size() - 1) - _position).get("Link").toString()).commit();
																}
															}
															_Rewarded_Unity();
															_File_Remover();
														}
														else {
															AlertDialog.setCancelable(true);
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																_Download_Install(regular.get((int)(regular.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															}
															else {
																if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																	_Download(regular.get((int)(regular.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																}
															}
															_File_Remover();
														}
													}
												}
											}
											catch(Exception e) {
											}
											                }
										            });
									 Download_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
										
										                @Override
										                public void onClick(DialogInterface Download_Patched, int p) {
											AlertDialog.setCancelable(true);
											Timer = new TimerTask() {
												@Override
												public void run() {
													runOnUiThread(new Runnable() {
														@Override
														public void run() {
															_Hide_Navigation();
														}
													});
												}
											};
											_timer.schedule(Timer, (int)(100));
											                }
										            });
									AlertDialog = Download_Patched.create();
									AlertDialog.setCancelable(false);
									AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
									AlertDialog.show();
									FileUtil.makeDir("/storage/emulated/0/xManager");
									FileUtil.makeDir("/storage/emulated/0/xManager/Update");
									DELETE = 1;
									                }
								            });
							AlertDialog = File_Exist.create();
							AlertDialog.setCancelable(false);
							AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
							AlertDialog.show();
						}
						else {
							if (COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_OFF")) {
								final AlertDialog.Builder Download_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
								
								String Title = "<b>".concat(download_ready_0.concat("</b>"));
								String TitleColor = "1DB954";
								
								Download_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
								if (_position < 2) {
									if ((_position % 2) == 0) {
										String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(regular.get((int)(regular.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
									else {
										String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(regular.get((int)(regular.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
								}
								else {
									if ((_position % 2) == 1) {
										String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(regular.get((int)(regular.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
									else {
										String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(regular.get((int)(regular.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
								}
								Download_Patched.setPositiveButton(download_0, new DialogInterface.OnClickListener(){
									
									                @Override
									                public void onClick(DialogInterface Download_Patched, int p) {
										try {
											if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
												AlertDialog.setCancelable(true);
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
													_Download_Install(regular.get((int)(regular.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												}
												else {
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
														_Download(regular.get((int)(regular.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													}
												}
												_File_Remover();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       Timer = new TimerTask() {
																@Override
																public void run() {
																	runOnUiThread(new Runnable() {
																		@Override
																		public void run() {
																			AlertDialog.setCancelable(true);
																			if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																				_Download_Install(regular.get((int)(regular.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																			}
																			else {
																				if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																					_Download(regular.get((int)(regular.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																				}
																			}
																			_File_Remover();
																		}
																	});
																}
															};
															_timer.schedule(Timer, (int)(1000));
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													if (UnityAds.isReady(placementRewardedVideo)) {
														AlertDialog.setCancelable(true);
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
															DOWNLOAD.edit().putString("PATCHED", regular.get((int)(regular.size() - 1) - _position).get("Link").toString()).commit();
														}
														else {
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																DOWNLOAD.edit().putString("PATCHED", regular.get((int)(regular.size() - 1) - _position).get("Link").toString()).commit();
															}
														}
														_Rewarded_Unity();
														_File_Remover();
													}
													else {
														AlertDialog.setCancelable(true);
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
															_Download_Install(regular.get((int)(regular.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														}
														else {
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																_Download(regular.get((int)(regular.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															}
														}
														_File_Remover();
													}
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								 Download_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
									
									                @Override
									                public void onClick(DialogInterface Download_Patched, int p) {
										AlertDialog.setCancelable(true);
										Timer = new TimerTask() {
											@Override
											public void run() {
												runOnUiThread(new Runnable() {
													@Override
													public void run() {
														_Hide_Navigation();
													}
												});
											}
										};
										_timer.schedule(Timer, (int)(100));
										                }
									            });
								AlertDialog = Download_Patched.create();
								AlertDialog.setCancelable(false);
								AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
								AlertDialog.show();
								FileUtil.makeDir("/storage/emulated/0/xManager");
								FileUtil.makeDir("/storage/emulated/0/xManager/Update");
								DELETE = 1;
							}
						}
					}
				}
				catch(Exception e) {
				}
			}
		});
		
		list_menu_3.setOnItemClickListener(new AdapterView.OnItemClickListener() {
			@Override
			public void onItemClick(AdapterView<?> _param1, View _param2, int _param3, long _param4) {
				final int _position = _param3;
				try {
					if (COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_ON")) {
						final AlertDialog.Builder Selected_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
						
						String Title = "<b>".concat(download_ready_0.concat("</b>"));
						String TitleColor = "1DB954";
						
						Selected_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
						if (_position < 2) {
							if ((_position % 2) == 0) {
								String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR (CLONED)")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
							else {
								String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("\n<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR (CLONED)")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
						}
						else {
							if ((_position % 2) == 1) {
								String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR (CLONED)")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
							else {
								String Message = "<b>RELEASE:  </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR (CLONED)")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
						}
						Selected_Patched.setPositiveButton(copy_url_0, new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Selected_Patched, int p) {
								try {
									if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
										AlertDialog.setCancelable(true);
										((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString()));
										SketchwareUtil.showMessage(getApplicationContext(), "Copied Successfully");
										Timer = new TimerTask() {
											@Override
											public void run() {
												runOnUiThread(new Runnable() {
													@Override
													public void run() {
														_Hide_Navigation();
													}
												});
											}
										};
										_timer.schedule(Timer, (int)(100));
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       Timer = new TimerTask() {
														@Override
														public void run() {
															runOnUiThread(new Runnable() {
																@Override
																public void run() {
																	AlertDialog.setCancelable(true);
																	((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString()));
																	SketchwareUtil.showMessage(getApplicationContext(), "Copied Successfully");
																	Timer = new TimerTask() {
																		@Override
																		public void run() {
																			runOnUiThread(new Runnable() {
																				@Override
																				public void run() {
																					_Hide_Navigation();
																				}
																			});
																		}
																	};
																	_timer.schedule(Timer, (int)(100));
																}
															});
														}
													};
													_timer.schedule(Timer, (int)(1000));
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											if (UnityAds.isReady(placementRewardedVideo)) {
												AlertDialog.setCancelable(true);
												DOWNLOAD.edit().putString("PATCHED", regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString()).commit();
												Timer = new TimerTask() {
													@Override
													public void run() {
														runOnUiThread(new Runnable() {
															@Override
															public void run() {
																_Hide_Navigation();
															}
														});
													}
												};
												_timer.schedule(Timer, (int)(100));
												_Rewarded_Unity();
											}
											else {
												AlertDialog.setCancelable(true);
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString()));
												SketchwareUtil.showMessage(getApplicationContext(), "Copied Successfully");
												Timer = new TimerTask() {
													@Override
													public void run() {
														runOnUiThread(new Runnable() {
															@Override
															public void run() {
																_Hide_Navigation();
															}
														});
													}
												};
												_timer.schedule(Timer, (int)(100));
											}
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Selected_Patched, int p) {
								AlertDialog.setCancelable(true);
								Timer = new TimerTask() {
									@Override
									public void run() {
										runOnUiThread(new Runnable() {
											@Override
											public void run() {
												_Hide_Navigation();
											}
										});
									}
								};
								_timer.schedule(Timer, (int)(100));
								                }
							            });
						AlertDialog = Selected_Patched.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
						FileUtil.makeDir("/storage/emulated/0/xManager");
						FileUtil.makeDir("/storage/emulated/0/xManager/Update");
						DELETE = 1;
					}
					else {
						if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk") || FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")) {
							final AlertDialog.Builder File_Exist = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
							
							String Title = "<b>".concat(existing_patched.getText().toString().concat("</b>"));
							String TitleColor = "1DB954";
							
							File_Exist.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
							String Message = existing_patched_desc.getText().toString();
							String MessageColor = "FFFFFF";
							
							File_Exist.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							File_Exist.setPositiveButton(install.getText().toString(), new DialogInterface.OnClickListener(){
								
								                @Override
								                public void onClick(DialogInterface File_Exist, int p) {
									AlertDialog.setCancelable(true);
									if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk") || (FileUtil.isExistFile(apk_path_location.getText().toString().concat("Spotify Mod (Official) [Cloned].apk")) || FileUtil.isExistFile("/storage/emulated/0/xManager/Spotify Mod (Official) [Cloned].apk"))) {
										if ((Installed_Version_Cloned < Downloaded_Version_Cloned) || ((Downloaded_Version_Cloned > Installed_Version_Cloned) || ((Installed_Version_Cloned == Downloaded_Version_Cloned) || Installed_Checker_Cloned.equals("false")))) {
												if (getICSignature(getApplicationContext()).equals(getDCSignature(getApplicationContext())) || Installed_Checker_Cloned.equals("false")) {
														StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
														if(android.os.Build.VERSION.SDK_INT >= 29){
																try {
																		Intent intent = new Intent(Intent.ACTION_VIEW);
																		intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
																		intent.setDataAndType(FileProvider.getUriForFile(MainActivity.this, "com.xc3fff0e.xmanager.provider", new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")), "application/vnd.android.package-archive");
																		startActivity(intent);
																}
																catch(Exception e) {
																		SketchwareUtil.CustomToast(getApplicationContext(), "Installation Failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
																}
														} else {
																try {
																		Intent intent = new Intent(Intent.ACTION_VIEW);
																		intent.setDataAndType(Uri.fromFile(new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")), "application/vnd.android.package-archive");
																		startActivity(intent);
																		Timer = new TimerTask() {
																				@Override
																				public void run() {
																						runOnUiThread(new Runnable() {
																								@Override
																								public void run() {
																										_Hide_Navigation();
																								}
																						});
																				}
																		};
																		_timer.schedule(Timer, (int)(100));
																}
																catch(Exception e) {
																		SketchwareUtil.CustomToast(getApplicationContext(), "Installation Failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
																}
														} 
												} else {
														final AlertDialog.Builder Signature_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
														String Title = "<b>".concat(installation_failed_0.concat("</b>"));
														String TitleColor = "1DB954";
														Signature_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
														String Message = installation_failed_cloned_desc_0.replace("\n", "<br/>");
														String MessageColor = "FFFFFF";
														Signature_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
														Signature_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Signature_Check, int p) {
																		AlertDialog.setCancelable(true);
																		try {
																				Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.musix")); 
																				startActivity(intent);
																		}
																		catch(Exception e) {
																		}
																}
														});
														Signature_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Signature_Check, int p) {
																		AlertDialog.setCancelable(true);
																}
														});
														AlertDialog = Signature_Check.create();
														AlertDialog.setCancelable(false);
														AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
														AlertDialog.show();
												}	
										}
										else {
												if (Downloaded_Version_Cloned < Installed_Version_Cloned) {
														final AlertDialog.Builder Downgrade_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
														String Title = "<b>".concat(installation_failed_0.concat("</b>"));
														String TitleColor = "1DB954";
														Downgrade_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
														String Message = installation_failed_desc_0.replace("\n", "<br/>");
														String MessageColor = "FFFFFF";
														Downgrade_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
														Downgrade_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Downgrade_Check, int p) {
																		AlertDialog.setCancelable(true);
																		try {
																				Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.musix")); 
																				startActivity(intent);
																		}
																		catch(Exception e) {
																		}
																}
														});
														Downgrade_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Downgrade_Check, int p) {
																		AlertDialog.setCancelable(true);
																}
														});
														AlertDialog = Downgrade_Check.create();
														AlertDialog.setCancelable(false);
														AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
														AlertDialog.show();
												}
										}
										
										_Hide_Navigation();
									}
									                }
								            });
							File_Exist.setNegativeButton(delete.getText().toString(), new DialogInterface.OnClickListener(){
								
								                @Override
								                public void onClick(DialogInterface File_Exist, int p) {
									
									AlertDialog.setCancelable(true);
									SketchwareUtil.showMessage(getApplicationContext(), "Patched File Deleted");
									FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk");
									FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk");
									FileUtil.deleteFile(apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"));
									FileUtil.deleteFile(apk_path_location.getText().toString().concat("Spotify Mod (Official) [Cloned].apk"));
									FileUtil.deleteFile("/storage/emulated/0/xManager/Spotify Mod (Official).apk");
									FileUtil.deleteFile("/storage/emulated/0/xManager/Spotify Mod (Official) [Cloned].apk");
									_Hide_Navigation();
									                }
								            });
							 File_Exist.setNeutralButton(ignore.getText().toString(), new DialogInterface.OnClickListener(){
								
								                @Override
								                public void onClick(DialogInterface File_Exist, int p) {
									AlertDialog.setCancelable(true);
									_Hide_Navigation();
									final AlertDialog.Builder Download_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
									
									String Title = "<b>".concat(download_ready_0.concat("</b>"));
									String TitleColor = "1DB954";
									
									Download_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
									if (_position < 2) {
										if ((_position % 2) == 0) {
											String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
										else {
											String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("\n<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
									}
									else {
										if ((_position % 2) == 1) {
											String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
										else {
											String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
									}
									Download_Patched.setPositiveButton(download_0, new DialogInterface.OnClickListener(){
										
										                @Override
										                public void onClick(DialogInterface Download_Patched, int p) {
											try {
												if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
													AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install_Cloned(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download_Cloned(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														}
													}
													_File_Remover();
												}
												else {
													if (mRewardedAd != null) {
														  Activity activityContext = MainActivity.this;
														  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
															    @Override
															    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
																       Timer = new TimerTask() {
																	@Override
																	public void run() {
																		runOnUiThread(new Runnable() {
																			@Override
																			public void run() {
																				AlertDialog.setCancelable(true);
																				if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																					_Download_Install_Cloned(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																				}
																				else {
																					if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																						_Download_Cloned(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																					}
																				}
																				_File_Remover();
																			}
																		});
																	}
																};
																_timer.schedule(Timer, (int)(1000));
																      int rewardAmount = rewardItem.getAmount();
																      String rewardType = rewardItem.getType();
																    }
															  });
													} else {
														if (UnityAds.isReady(placementRewardedVideo)) {
															AlertDialog.setCancelable(true);
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																DOWNLOAD.edit().putString("PATCHED", regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString()).commit();
															}
															else {
																if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																	DOWNLOAD.edit().putString("PATCHED", regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString()).commit();
																}
															}
															_Rewarded_Unity();
															_File_Remover();
														}
														else {
															AlertDialog.setCancelable(true);
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																_Download_Install_Cloned(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															}
															else {
																if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																	_Download_Cloned(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																}
															}
															_File_Remover();
														}
													}
												}
											}
											catch(Exception e) {
											}
											                }
										            });
									 Download_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
										
										                @Override
										                public void onClick(DialogInterface Download_Patched, int p) {
											AlertDialog.setCancelable(true);
											Timer = new TimerTask() {
												@Override
												public void run() {
													runOnUiThread(new Runnable() {
														@Override
														public void run() {
															_Hide_Navigation();
														}
													});
												}
											};
											_timer.schedule(Timer, (int)(100));
											                }
										            });
									AlertDialog = Download_Patched.create();
									AlertDialog.setCancelable(false);
									AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
									AlertDialog.show();
									FileUtil.makeDir("/storage/emulated/0/xManager");
									FileUtil.makeDir("/storage/emulated/0/xManager/Update");
									DELETE = 1;
									                }
								            });
							AlertDialog = File_Exist.create();
							AlertDialog.setCancelable(false);
							AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
							AlertDialog.show();
						}
						else {
							if (COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_OFF")) {
								final AlertDialog.Builder Download_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
								
								String Title = "<b>".concat(download_ready_0.concat("</b>"));
								String TitleColor = "1DB954";
								
								Download_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
								if (_position < 2) {
									if ((_position % 2) == 0) {
										String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
									else {
										String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("\n<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
								}
								else {
									if ((_position % 2) == 1) {
										String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
									else {
										String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("REGULAR (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
								}
								Download_Patched.setPositiveButton(download_0, new DialogInterface.OnClickListener(){
									
									                @Override
									                public void onClick(DialogInterface Download_Patched, int p) {
										try {
											if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
												AlertDialog.setCancelable(true);
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
													_Download_Install_Cloned(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												}
												else {
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
														_Download_Cloned(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													}
												}
												_File_Remover();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       Timer = new TimerTask() {
																@Override
																public void run() {
																	runOnUiThread(new Runnable() {
																		@Override
																		public void run() {
																			AlertDialog.setCancelable(true);
																			if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																				_Download_Install_Cloned(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																			}
																			else {
																				if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																					_Download_Cloned(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																				}
																			}
																			_File_Remover();
																		}
																	});
																}
															};
															_timer.schedule(Timer, (int)(1000));
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													if (UnityAds.isReady(placementRewardedVideo)) {
														AlertDialog.setCancelable(true);
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
															DOWNLOAD.edit().putString("PATCHED", regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString()).commit();
														}
														else {
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																DOWNLOAD.edit().putString("PATCHED", regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString()).commit();
															}
														}
														_Rewarded_Unity();
														_File_Remover();
													}
													else {
														AlertDialog.setCancelable(true);
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
															_Download_Install_Cloned(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														}
														else {
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																_Download_Cloned(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															}
														}
														_File_Remover();
													}
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								 Download_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
									
									                @Override
									                public void onClick(DialogInterface Download_Patched, int p) {
										AlertDialog.setCancelable(true);
										Timer = new TimerTask() {
											@Override
											public void run() {
												runOnUiThread(new Runnable() {
													@Override
													public void run() {
														_Hide_Navigation();
													}
												});
											}
										};
										_timer.schedule(Timer, (int)(100));
										                }
									            });
								AlertDialog = Download_Patched.create();
								AlertDialog.setCancelable(false);
								AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
								AlertDialog.show();
								FileUtil.makeDir("/storage/emulated/0/xManager");
								FileUtil.makeDir("/storage/emulated/0/xManager/Update");
								DELETE = 1;
							}
						}
					}
				}
				catch(Exception e) {
				}
			}
		});
		
		version_switch_01.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton _param1, boolean _param2) {
				final boolean _isChecked = _param2;
				try {
					if (_isChecked) {
						try {
							version_switch_02.setChecked(false);
							changelogs_switch.setChecked(false);
							if (CLONED_VERSION.getString("CLONED", "").equals("ON")) {
								list_menu_1.setVisibility(View.GONE);
								list_menu_3.setVisibility(View.VISIBLE);
								sub_1.setVisibility(View.GONE);
								sub_5.setVisibility(View.VISIBLE);
								list_menu_1.setAlpha((float)(0));
								list_menu_3.setAlpha((float)(1));
							}
							else {
								if (CLONED_VERSION.getString("CLONED", "").equals("OFF")) {
									list_menu_1.setVisibility(View.VISIBLE);
									list_menu_3.setVisibility(View.GONE);
									sub_1.setVisibility(View.VISIBLE);
									sub_5.setVisibility(View.GONE);
									list_menu_1.setAlpha((float)(1));
									list_menu_3.setAlpha((float)(0));
								}
							}
							if (!SketchwareUtil.isConnected(getApplicationContext())) {
								com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Slow or no internet connection. Try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
							}
							_Switches();
						}
						catch(Exception e) {
							SketchwareUtil.CustomToast(getApplicationContext(), "Fetching Failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
						}
					}
					else {
						list_menu_1.setVisibility(View.GONE);
						list_menu_3.setVisibility(View.GONE);
						main_refresh_layout.setEnabled(true);
						list_menu_1.setSelection((int)0);
					}
					Animation animation;
					animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
					animation.setDuration(300); list_menu_1.startAnimation(animation);
					animation = null;
				}
				catch(Exception e) {
				}
			}
		});
		
		list_menu_2.setOnItemClickListener(new AdapterView.OnItemClickListener() {
			@Override
			public void onItemClick(AdapterView<?> _param1, View _param2, int _param3, long _param4) {
				final int _position = _param3;
				try {
					if (COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_ON")) {
						final AlertDialog.Builder Selected_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
						
						String Title = "<b>".concat(download_ready_0.concat("</b>"));
						String TitleColor = "1DB954";
						
						Selected_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
						if (_position < 2) {
							if ((_position % 2) == 0) {
								String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(amoled.get((int)(amoled.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
							else {
								String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(amoled.get((int)(amoled.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
						}
						else {
							if ((_position % 2) == 1) {
								String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(amoled.get((int)(amoled.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
							else {
								String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(amoled.get((int)(amoled.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
						}
						Selected_Patched.setPositiveButton(copy_url_0, new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Selected_Patched, int p) {
								try {
									if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
										AlertDialog.setCancelable(true);
										((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString()));
										SketchwareUtil.showMessage(getApplicationContext(), "Copied Successfully");
										Timer = new TimerTask() {
											@Override
											public void run() {
												runOnUiThread(new Runnable() {
													@Override
													public void run() {
														_Hide_Navigation();
													}
												});
											}
										};
										_timer.schedule(Timer, (int)(100));
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       Timer = new TimerTask() {
														@Override
														public void run() {
															runOnUiThread(new Runnable() {
																@Override
																public void run() {
																	AlertDialog.setCancelable(true);
																	((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString()));
																	SketchwareUtil.showMessage(getApplicationContext(), "Copied Successfully");
																	Timer = new TimerTask() {
																		@Override
																		public void run() {
																			runOnUiThread(new Runnable() {
																				@Override
																				public void run() {
																					_Hide_Navigation();
																				}
																			});
																		}
																	};
																	_timer.schedule(Timer, (int)(100));
																}
															});
														}
													};
													_timer.schedule(Timer, (int)(1000));
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											if (UnityAds.isReady(placementRewardedVideo)) {
												AlertDialog.setCancelable(true);
												DOWNLOAD.edit().putString("PATCHED", amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString()).commit();
												Timer = new TimerTask() {
													@Override
													public void run() {
														runOnUiThread(new Runnable() {
															@Override
															public void run() {
																_Hide_Navigation();
															}
														});
													}
												};
												_timer.schedule(Timer, (int)(100));
												_Rewarded_Unity();
											}
											else {
												AlertDialog.setCancelable(true);
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString()));
												SketchwareUtil.showMessage(getApplicationContext(), "Copied Successfully");
												Timer = new TimerTask() {
													@Override
													public void run() {
														runOnUiThread(new Runnable() {
															@Override
															public void run() {
																_Hide_Navigation();
															}
														});
													}
												};
												_timer.schedule(Timer, (int)(100));
											}
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Selected_Patched, int p) {
								AlertDialog.setCancelable(true);
								Timer = new TimerTask() {
									@Override
									public void run() {
										runOnUiThread(new Runnable() {
											@Override
											public void run() {
												_Hide_Navigation();
											}
										});
									}
								};
								_timer.schedule(Timer, (int)(100));
								                }
							            });
						AlertDialog = Selected_Patched.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
						FileUtil.makeDir("/storage/emulated/0/xManager");
						FileUtil.makeDir("/storage/emulated/0/xManager/Update");
						DELETE = 1;
					}
					else {
						if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk") || FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")) {
							final AlertDialog.Builder File_Exist = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
							
							String Title = "<b>".concat(existing_patched.getText().toString().concat("</b>"));
							String TitleColor = "1DB954";
							
							File_Exist.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
							String Message = existing_patched_desc.getText().toString();
							String MessageColor = "FFFFFF";
							
							File_Exist.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							File_Exist.setPositiveButton(install.getText().toString(), new DialogInterface.OnClickListener(){
								
								                @Override
								                public void onClick(DialogInterface File_Exist, int p) {
									AlertDialog.setCancelable(true);
									if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk") || (FileUtil.isExistFile(apk_path_location.getText().toString().concat("Spotify Mod (Official).apk")) || FileUtil.isExistFile("/storage/emulated/0/xManager/Spotify Mod (Official).apk"))) {
										if ((Installed_Version < Downloaded_Version) || ((Downloaded_Version > Installed_Version) || ((Installed_Version == Downloaded_Version) || Installed_Checker.equals("false")))) {
												if (getISignature(getApplicationContext()).equals(getDSignature(getApplicationContext())) || Installed_Checker.equals("false")) {
														StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
														if(android.os.Build.VERSION.SDK_INT >= 29){
																try {
																		Intent intent = new Intent(Intent.ACTION_VIEW);
																		intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
																		intent.setDataAndType(FileProvider.getUriForFile(MainActivity.this, "com.xc3fff0e.xmanager.provider", new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
																		startActivity(intent);
																}
																catch(Exception e) {
																		SketchwareUtil.CustomToast(getApplicationContext(), "Installation Failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
																}
														} else {
																try {
																		Intent intent = new Intent(Intent.ACTION_VIEW);
																		intent.setDataAndType(Uri.fromFile(new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
																		startActivity(intent);
																		Timer = new TimerTask() {
																				@Override
																				public void run() {
																						runOnUiThread(new Runnable() {
																								@Override
																								public void run() {
																										_Hide_Navigation();
																								}
																						});
																				}
																		};
																		_timer.schedule(Timer, (int)(100));
																}
																catch(Exception e) {
																		SketchwareUtil.CustomToast(getApplicationContext(), "Installation Failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
																}
														} 
												} else {
														final AlertDialog.Builder Signature_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
														String Title = "<b>".concat(installation_failed_0.concat("</b>"));
														String TitleColor = "1DB954";
														Signature_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
														String Message = installation_failed_ream_desc_0.replace("\n", "<br/>");
														String MessageColor = "FFFFFF";
														Signature_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
														Signature_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Signature_Check, int p) {
																		AlertDialog.setCancelable(true);
																		try {
																				Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.music")); 
																				startActivity(intent);
																		}
																		catch(Exception e) {
																		}
																}
														});
														Signature_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Signature_Check, int p) {
																		AlertDialog.setCancelable(true);
																}
														});
														AlertDialog = Signature_Check.create();
														AlertDialog.setCancelable(false);
														AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
														AlertDialog.show();
												}	
										}
										else {
												if (Downloaded_Version < Installed_Version) {
														final AlertDialog.Builder Downgrade_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
														String Title = "<b>".concat(installation_failed_0.concat("</b>"));
														String TitleColor = "1DB954";
														Downgrade_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
														String Message = installation_failed_desc_0.replace("\n", "<br/>");
														String MessageColor = "FFFFFF";
														Downgrade_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
														Downgrade_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Downgrade_Check, int p) {
																		AlertDialog.setCancelable(true);
																		try {
																				Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.music")); 
																				startActivity(intent);
																		}
																		catch(Exception e) {
																		}
																}
														});
														Downgrade_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Downgrade_Check, int p) {
																		AlertDialog.setCancelable(true);
																}
														});
														AlertDialog = Downgrade_Check.create();
														AlertDialog.setCancelable(false);
														AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
														AlertDialog.show();
												}
										}	
										
										_Hide_Navigation();
									}
									                }
								            });
							File_Exist.setNegativeButton(delete.getText().toString(), new DialogInterface.OnClickListener(){
								
								                @Override
								                public void onClick(DialogInterface File_Exist, int p) {
									
									AlertDialog.setCancelable(true);
									SketchwareUtil.showMessage(getApplicationContext(), "Patched File Deleted");
									FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk");
									FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk");
									FileUtil.deleteFile(apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"));
									FileUtil.deleteFile(apk_path_location.getText().toString().concat("Spotify Mod (Official) [Cloned].apk"));
									FileUtil.deleteFile("/storage/emulated/0/xManager/Spotify Mod (Official).apk");
									FileUtil.deleteFile("/storage/emulated/0/xManager/Spotify Mod (Official) [Cloned].apk");
									_Hide_Navigation();
									                }
								            });
							 File_Exist.setNeutralButton(ignore.getText().toString(), new DialogInterface.OnClickListener(){
								
								                @Override
								                public void onClick(DialogInterface File_Exist, int p) {
									AlertDialog.setCancelable(true);
									_Hide_Navigation();
									final AlertDialog.Builder Download_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
									
									String Title = "<b>".concat(download_ready_0.concat("</b>"));
									String TitleColor = "1DB954";
									
									Download_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
									if (_position < 2) {
										if ((_position % 2) == 0) {
											String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(amoled.get((int)(amoled.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
										else {
											String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(amoled.get((int)(amoled.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
									}
									else {
										if ((_position % 2) == 1) {
											String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(amoled.get((int)(amoled.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
										else {
											String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(amoled.get((int)(amoled.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
									}
									Download_Patched.setPositiveButton(download_0, new DialogInterface.OnClickListener(){
										
										                @Override
										                public void onClick(DialogInterface Download_Patched, int p) {
											try {
												if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
													AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														}
													}
													_File_Remover();
												}
												else {
													if (mRewardedAd != null) {
														  Activity activityContext = MainActivity.this;
														  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
															    @Override
															    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
																       Timer = new TimerTask() {
																	@Override
																	public void run() {
																		runOnUiThread(new Runnable() {
																			@Override
																			public void run() {
																				AlertDialog.setCancelable(true);
																				if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																					_Download_Install(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																				}
																				else {
																					if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																						_Download(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																					}
																				}
																				_File_Remover();
																			}
																		});
																	}
																};
																_timer.schedule(Timer, (int)(1000));
																      int rewardAmount = rewardItem.getAmount();
																      String rewardType = rewardItem.getType();
																    }
															  });
													} else {
														if (UnityAds.isReady(placementRewardedVideo)) {
															AlertDialog.setCancelable(true);
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																DOWNLOAD.edit().putString("PATCHED", amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString()).commit();
															}
															else {
																if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																	DOWNLOAD.edit().putString("PATCHED", amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString()).commit();
																}
															}
															_Rewarded_Unity();
															_File_Remover();
														}
														else {
															AlertDialog.setCancelable(true);
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																_Download_Install(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															}
															else {
																if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																	_Download(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																}
															}
															_File_Remover();
														}
													}
												}
											}
											catch(Exception e) {
											}
											                }
										            });
									 Download_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
										
										                @Override
										                public void onClick(DialogInterface Download_Patched, int p) {
											AlertDialog.setCancelable(true);
											Timer = new TimerTask() {
												@Override
												public void run() {
													runOnUiThread(new Runnable() {
														@Override
														public void run() {
															_Hide_Navigation();
														}
													});
												}
											};
											_timer.schedule(Timer, (int)(100));
											                }
										            });
									AlertDialog = Download_Patched.create();
									AlertDialog.setCancelable(false);
									AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
									AlertDialog.show();
									FileUtil.makeDir("/storage/emulated/0/xManager");
									FileUtil.makeDir("/storage/emulated/0/xManager/Update");
									DELETE = 1;
									                }
								            });
							AlertDialog = File_Exist.create();
							AlertDialog.setCancelable(false);
							AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
							AlertDialog.show();
						}
						else {
							if (COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_OFF")) {
								final AlertDialog.Builder Download_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
								
								String Title = "<b>".concat(download_ready_0.concat("</b>"));
								String TitleColor = "1DB954";
								
								Download_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
								if (_position < 2) {
									if ((_position % 2) == 0) {
										String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(amoled.get((int)(amoled.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
									else {
										String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(amoled.get((int)(amoled.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
								}
								else {
									if ((_position % 2) == 1) {
										String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(amoled.get((int)(amoled.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
									else {
										String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(amoled.get((int)(amoled.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
								}
								Download_Patched.setPositiveButton(download_0, new DialogInterface.OnClickListener(){
									
									                @Override
									                public void onClick(DialogInterface Download_Patched, int p) {
										try {
											if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
												AlertDialog.setCancelable(true);
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
													_Download_Install(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												}
												else {
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
														_Download(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													}
												}
												_File_Remover();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       Timer = new TimerTask() {
																@Override
																public void run() {
																	runOnUiThread(new Runnable() {
																		@Override
																		public void run() {
																			AlertDialog.setCancelable(true);
																			if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																				_Download_Install(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																			}
																			else {
																				if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																					_Download(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																				}
																			}
																			_File_Remover();
																		}
																	});
																}
															};
															_timer.schedule(Timer, (int)(1000));
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													if (UnityAds.isReady(placementRewardedVideo)) {
														AlertDialog.setCancelable(true);
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
															DOWNLOAD.edit().putString("PATCHED", amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString()).commit();
														}
														else {
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																DOWNLOAD.edit().putString("PATCHED", amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString()).commit();
															}
														}
														_Rewarded_Unity();
														_File_Remover();
													}
													else {
														AlertDialog.setCancelable(true);
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
															_Download_Install(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														}
														else {
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																_Download(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															}
														}
														_File_Remover();
													}
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								 Download_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
									
									                @Override
									                public void onClick(DialogInterface Download_Patched, int p) {
										AlertDialog.setCancelable(true);
										Timer = new TimerTask() {
											@Override
											public void run() {
												runOnUiThread(new Runnable() {
													@Override
													public void run() {
														_Hide_Navigation();
													}
												});
											}
										};
										_timer.schedule(Timer, (int)(100));
										                }
									            });
								AlertDialog = Download_Patched.create();
								AlertDialog.setCancelable(false);
								AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
								AlertDialog.show();
								FileUtil.makeDir("/storage/emulated/0/xManager");
								FileUtil.makeDir("/storage/emulated/0/xManager/Update");
								DELETE = 1;
							}
						}
					}
				}
				catch(Exception e) {
				}
			}
		});
		
		list_menu_4.setOnItemClickListener(new AdapterView.OnItemClickListener() {
			@Override
			public void onItemClick(AdapterView<?> _param1, View _param2, int _param3, long _param4) {
				final int _position = _param3;
				try {
					if (COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_ON")) {
						final AlertDialog.Builder Selected_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
						
						String Title = "<b>".concat(download_ready_0.concat("</b>"));
						String TitleColor = "1DB954";
						
						Selected_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
						if (_position < 2) {
							if ((_position % 2) == 0) {
								String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED (CLONED)")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
							else {
								String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("\n<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED (CLONED)")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
						}
						else {
							if ((_position % 2) == 1) {
								String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED (CLONED)")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
							else {
								String Message = "<b>RELEASE:  </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED (CLONED)")))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
						}
						Selected_Patched.setPositiveButton(copy_url_0, new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Selected_Patched, int p) {
								try {
									if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
										AlertDialog.setCancelable(true);
										((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString()));
										SketchwareUtil.showMessage(getApplicationContext(), "Copied Successfully");
										Timer = new TimerTask() {
											@Override
											public void run() {
												runOnUiThread(new Runnable() {
													@Override
													public void run() {
														_Hide_Navigation();
													}
												});
											}
										};
										_timer.schedule(Timer, (int)(100));
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       Timer = new TimerTask() {
														@Override
														public void run() {
															runOnUiThread(new Runnable() {
																@Override
																public void run() {
																	AlertDialog.setCancelable(true);
																	((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString()));
																	SketchwareUtil.showMessage(getApplicationContext(), "Copied Successfully");
																	Timer = new TimerTask() {
																		@Override
																		public void run() {
																			runOnUiThread(new Runnable() {
																				@Override
																				public void run() {
																					_Hide_Navigation();
																				}
																			});
																		}
																	};
																	_timer.schedule(Timer, (int)(100));
																}
															});
														}
													};
													_timer.schedule(Timer, (int)(1000));
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											if (UnityAds.isReady(placementRewardedVideo)) {
												AlertDialog.setCancelable(true);
												DOWNLOAD.edit().putString("PATCHED", amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString()).commit();
												Timer = new TimerTask() {
													@Override
													public void run() {
														runOnUiThread(new Runnable() {
															@Override
															public void run() {
																_Hide_Navigation();
															}
														});
													}
												};
												_timer.schedule(Timer, (int)(100));
												_Rewarded_Unity();
											}
											else {
												AlertDialog.setCancelable(true);
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString()));
												SketchwareUtil.showMessage(getApplicationContext(), "Copied Successfully");
												Timer = new TimerTask() {
													@Override
													public void run() {
														runOnUiThread(new Runnable() {
															@Override
															public void run() {
																_Hide_Navigation();
															}
														});
													}
												};
												_timer.schedule(Timer, (int)(100));
											}
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Selected_Patched, int p) {
								AlertDialog.setCancelable(true);
								Timer = new TimerTask() {
									@Override
									public void run() {
										runOnUiThread(new Runnable() {
											@Override
											public void run() {
												_Hide_Navigation();
											}
										});
									}
								};
								_timer.schedule(Timer, (int)(100));
								                }
							            });
						AlertDialog = Selected_Patched.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
						FileUtil.makeDir("/storage/emulated/0/xManager");
						FileUtil.makeDir("/storage/emulated/0/xManager/Update");
						DELETE = 1;
					}
					else {
						if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk") || FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")) {
							final AlertDialog.Builder File_Exist = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
							
							String Title = "<b>".concat(existing_patched.getText().toString().concat("</b>"));
							String TitleColor = "1DB954";
							
							File_Exist.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
							String Message = existing_patched_desc.getText().toString();
							String MessageColor = "FFFFFF";
							
							File_Exist.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							File_Exist.setPositiveButton(install.getText().toString(), new DialogInterface.OnClickListener(){
								
								                @Override
								                public void onClick(DialogInterface File_Exist, int p) {
									AlertDialog.setCancelable(true);
									if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk") || (FileUtil.isExistFile(apk_path_location.getText().toString().concat("Spotify Mod (Official) [Cloned].apk")) || FileUtil.isExistFile("/storage/emulated/0/xManager/Spotify Mod (Official) [Cloned].apk"))) {
										if ((Installed_Version_Cloned < Downloaded_Version_Cloned) || ((Downloaded_Version_Cloned > Installed_Version_Cloned) || ((Installed_Version_Cloned == Downloaded_Version_Cloned) || Installed_Checker_Cloned.equals("false")))) {
												if (getICSignature(getApplicationContext()).equals(getDCSignature(getApplicationContext())) || Installed_Checker_Cloned.equals("false")) {
														StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
														if(android.os.Build.VERSION.SDK_INT >= 29){
																try {
																		Intent intent = new Intent(Intent.ACTION_VIEW);
																		intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
																		intent.setDataAndType(FileProvider.getUriForFile(MainActivity.this, "com.xc3fff0e.xmanager.provider", new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")), "application/vnd.android.package-archive");
																		startActivity(intent);
																}
																catch(Exception e) {
																		SketchwareUtil.CustomToast(getApplicationContext(), "Installation Failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
																}
														} else {
																try {
																		Intent intent = new Intent(Intent.ACTION_VIEW);
																		intent.setDataAndType(Uri.fromFile(new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")), "application/vnd.android.package-archive");
																		startActivity(intent);
																		Timer = new TimerTask() {
																				@Override
																				public void run() {
																						runOnUiThread(new Runnable() {
																								@Override
																								public void run() {
																										_Hide_Navigation();
																								}
																						});
																				}
																		};
																		_timer.schedule(Timer, (int)(100));
																}
																catch(Exception e) {
																		SketchwareUtil.CustomToast(getApplicationContext(), "Installation Failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
																}
														} 
												} else {
														final AlertDialog.Builder Signature_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
														String Title = "<b>".concat(installation_failed_0.concat("</b>"));
														String TitleColor = "1DB954";
														Signature_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
														String Message = installation_failed_cloned_desc_0.replace("\n", "<br/>");
														String MessageColor = "FFFFFF";
														Signature_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
														Signature_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Signature_Check, int p) {
																		AlertDialog.setCancelable(true);
																		try {
																				Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.musix")); 
																				startActivity(intent);
																		}
																		catch(Exception e) {
																		}
																}
														});
														Signature_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Signature_Check, int p) {
																		AlertDialog.setCancelable(true);
																}
														});
														AlertDialog = Signature_Check.create();
														AlertDialog.setCancelable(false);
														AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
														AlertDialog.show();
												}	
										}
										else {
												if (Downloaded_Version_Cloned < Installed_Version_Cloned) {
														final AlertDialog.Builder Downgrade_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
														String Title = "<b>".concat(installation_failed_0.concat("</b>"));
														String TitleColor = "1DB954";
														Downgrade_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
														String Message = installation_failed_desc_0.replace("\n", "<br/>");
														String MessageColor = "FFFFFF";
														Downgrade_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
														Downgrade_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Downgrade_Check, int p) {
																		AlertDialog.setCancelable(true);
																		try {
																				Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.musix")); 
																				startActivity(intent);
																		}
																		catch(Exception e) {
																		}
																}
														});
														Downgrade_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																@Override
																public void onClick(DialogInterface Downgrade_Check, int p) {
																		AlertDialog.setCancelable(true);
																}
														});
														AlertDialog = Downgrade_Check.create();
														AlertDialog.setCancelable(false);
														AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
														AlertDialog.show();
												}
										}
										
										_Hide_Navigation();
									}
									                }
								            });
							File_Exist.setNegativeButton(delete.getText().toString(), new DialogInterface.OnClickListener(){
								
								                @Override
								                public void onClick(DialogInterface File_Exist, int p) {
									
									AlertDialog.setCancelable(true);
									SketchwareUtil.showMessage(getApplicationContext(), "Patched File Deleted");
									FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk");
									FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk");
									FileUtil.deleteFile(apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"));
									FileUtil.deleteFile(apk_path_location.getText().toString().concat("Spotify Mod (Official) [Cloned].apk"));
									FileUtil.deleteFile("/storage/emulated/0/xManager/Spotify Mod (Official).apk");
									FileUtil.deleteFile("/storage/emulated/0/xManager/Spotify Mod (Official) [Cloned].apk");
									_Hide_Navigation();
									                }
								            });
							 File_Exist.setNeutralButton(ignore.getText().toString(), new DialogInterface.OnClickListener(){
								
								                @Override
								                public void onClick(DialogInterface File_Exist, int p) {
									AlertDialog.setCancelable(true);
									_Hide_Navigation();
									final AlertDialog.Builder Download_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
									
									String Title = "<b>".concat(download_ready_0.concat("</b>"));
									String TitleColor = "1DB954";
									
									Download_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
									if (_position < 2) {
										if ((_position % 2) == 0) {
											String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
										else {
											String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("\n<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
									}
									else {
										if ((_position % 2) == 1) {
											String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
										else {
											String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
											String MessageColor = "FFFFFF";
											
											Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										}
									}
									Download_Patched.setPositiveButton(download_0, new DialogInterface.OnClickListener(){
										
										                @Override
										                public void onClick(DialogInterface Download_Patched, int p) {
											try {
												if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
													AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install_Cloned(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download_Cloned(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														}
													}
													_File_Remover();
												}
												else {
													if (mRewardedAd != null) {
														  Activity activityContext = MainActivity.this;
														  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
															    @Override
															    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
																       Timer = new TimerTask() {
																	@Override
																	public void run() {
																		runOnUiThread(new Runnable() {
																			@Override
																			public void run() {
																				AlertDialog.setCancelable(true);
																				if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																					_Download_Install_Cloned(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																				}
																				else {
																					if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																						_Download_Cloned(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																					}
																				}
																				_File_Remover();
																			}
																		});
																	}
																};
																_timer.schedule(Timer, (int)(1000));
																      int rewardAmount = rewardItem.getAmount();
																      String rewardType = rewardItem.getType();
																    }
															  });
													} else {
														if (UnityAds.isReady(placementRewardedVideo)) {
															AlertDialog.setCancelable(true);
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																DOWNLOAD.edit().putString("PATCHED", amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString()).commit();
															}
															else {
																if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																	DOWNLOAD.edit().putString("PATCHED", amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString()).commit();
																}
															}
															_Rewarded_Unity();
															_File_Remover();
														}
														else {
															AlertDialog.setCancelable(true);
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																_Download_Install_Cloned(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															}
															else {
																if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																	_Download_Cloned(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																}
															}
															_File_Remover();
														}
													}
												}
											}
											catch(Exception e) {
											}
											                }
										            });
									 Download_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
										
										                @Override
										                public void onClick(DialogInterface Download_Patched, int p) {
											AlertDialog.setCancelable(true);
											Timer = new TimerTask() {
												@Override
												public void run() {
													runOnUiThread(new Runnable() {
														@Override
														public void run() {
															_Hide_Navigation();
														}
													});
												}
											};
											_timer.schedule(Timer, (int)(100));
											                }
										            });
									AlertDialog = Download_Patched.create();
									AlertDialog.setCancelable(false);
									AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
									AlertDialog.show();
									FileUtil.makeDir("/storage/emulated/0/xManager");
									FileUtil.makeDir("/storage/emulated/0/xManager/Update");
									DELETE = 1;
									                }
								            });
							AlertDialog = File_Exist.create();
							AlertDialog.setCancelable(false);
							AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
							AlertDialog.show();
						}
						else {
							if (COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_OFF")) {
								final AlertDialog.Builder Download_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
								
								String Title = "<b>".concat(download_ready_0.concat("</b>"));
								String TitleColor = "1DB954";
								
								Download_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
								if (_position < 2) {
									if ((_position % 2) == 0) {
										String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
									else {
										String Message = "<b>RELEASE: </b>".concat("LATEST VERSION".concat("<br/><b>VERSION: </b>".concat(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("\n<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
								}
								else {
									if ((_position % 2) == 1) {
										String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARM64-V8A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
									else {
										String Message = "<b>RELEASE: </b>".concat("OLDER VERSION".concat("<br/><b>VERSION: </b>".concat(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Title").toString().replace("(ARMEABI-V7A)", "").replace("(ARM64-V8A)", "").concat("<br/><b>CPU/ARCH: </b>".concat("ARMEABI-V7A".concat("<br/><b>PATCHED TYPE: </b>".concat("AMOLED (CLONED)<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Download_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
								}
								Download_Patched.setPositiveButton(download_0, new DialogInterface.OnClickListener(){
									
									                @Override
									                public void onClick(DialogInterface Download_Patched, int p) {
										try {
											if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
												AlertDialog.setCancelable(true);
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
													_Download_Install_Cloned(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												}
												else {
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
														_Download_Cloned(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													}
												}
												_File_Remover();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       Timer = new TimerTask() {
																@Override
																public void run() {
																	runOnUiThread(new Runnable() {
																		@Override
																		public void run() {
																			AlertDialog.setCancelable(true);
																			if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																				_Download_Install_Cloned(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																			}
																			else {
																				if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																					_Download_Cloned(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																				}
																			}
																			_File_Remover();
																		}
																	});
																}
															};
															_timer.schedule(Timer, (int)(1000));
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													if (UnityAds.isReady(placementRewardedVideo)) {
														AlertDialog.setCancelable(true);
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
															DOWNLOAD.edit().putString("PATCHED", amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString()).commit();
														}
														else {
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																DOWNLOAD.edit().putString("PATCHED", amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString()).commit();
															}
														}
														_Rewarded_Unity();
														_File_Remover();
													}
													else {
														AlertDialog.setCancelable(true);
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
															_Download_Install_Cloned(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														}
														else {
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																_Download_Cloned(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															}
														}
														_File_Remover();
													}
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								 Download_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
									
									                @Override
									                public void onClick(DialogInterface Download_Patched, int p) {
										AlertDialog.setCancelable(true);
										Timer = new TimerTask() {
											@Override
											public void run() {
												runOnUiThread(new Runnable() {
													@Override
													public void run() {
														_Hide_Navigation();
													}
												});
											}
										};
										_timer.schedule(Timer, (int)(100));
										                }
									            });
								AlertDialog = Download_Patched.create();
								AlertDialog.setCancelable(false);
								AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
								AlertDialog.show();
								FileUtil.makeDir("/storage/emulated/0/xManager");
								FileUtil.makeDir("/storage/emulated/0/xManager/Update");
								DELETE = 1;
							}
						}
					}
				}
				catch(Exception e) {
				}
			}
		});
		
		version_switch_02.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton _param1, boolean _param2) {
				final boolean _isChecked = _param2;
				try {
					if (_isChecked) {
						try {
							version_switch_01.setChecked(false);
							changelogs_switch.setChecked(false);
							if (CLONED_VERSION.getString("CLONED", "").equals("ON")) {
								list_menu_2.setVisibility(View.GONE);
								list_menu_4.setVisibility(View.VISIBLE);
								sub_3.setVisibility(View.GONE);
								sub_7.setVisibility(View.VISIBLE);
								list_menu_2.setAlpha((float)(0));
								list_menu_4.setAlpha((float)(1));
							}
							else {
								if (CLONED_VERSION.getString("CLONED", "").equals("OFF")) {
									list_menu_2.setVisibility(View.VISIBLE);
									list_menu_4.setVisibility(View.GONE);
									sub_3.setVisibility(View.VISIBLE);
									sub_7.setVisibility(View.GONE);
									list_menu_2.setAlpha((float)(1));
									list_menu_4.setAlpha((float)(0));
								}
							}
							if (!SketchwareUtil.isConnected(getApplicationContext())) {
								com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Slow or no internet connection. Try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
							}
							_Switches();
						}
						catch(Exception e) {
							SketchwareUtil.CustomToast(getApplicationContext(), "Fetching Failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
						}
					}
					else {
						list_menu_2.setVisibility(View.GONE);
						list_menu_4.setVisibility(View.GONE);
						main_refresh_layout.setEnabled(true);
						list_menu_2.setSelection((int)0);
					}
					Animation animation;
					animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
					animation.setDuration(300); list_menu_2.startAnimation(animation);
					animation = null;
				}
				catch(Exception e) {
				}
			}
		});
		
		changelogs_switch.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton _param1, boolean _param2) {
				final boolean _isChecked = _param2;
				try {
					if (_isChecked) {
						try {
							version_switch_01.setChecked(false);
							version_switch_02.setChecked(false);
							list_changelogs.setVisibility(View.VISIBLE);
							if (!SketchwareUtil.isConnected(getApplicationContext())) {
								com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Slow or No Internet Connection. Try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
							}
							_Switches();
						}
						catch(Exception e) {
							SketchwareUtil.CustomToast(getApplicationContext(), "Fetching Failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
						}
					}
					else {
						list_changelogs.setVisibility(View.GONE);
						main_refresh_layout.setEnabled(true);
						list_changelogs.setSelection((int)0);
					}
					Animation animation;
					animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
					animation.setDuration(300); list_changelogs.startAnimation(animation);
					animation = null;
				}
				catch(Exception e) {
				}
			}
		});
		
		box_uninstall.setOnLongClickListener(new View.OnLongClickListener() {
			@Override
			public boolean onLongClick(View _view) {
				SketchwareUtil.showMessage(getApplicationContext(), "Uninstall patched");
				return true;
			}
		});
		
		box_uninstall.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				try {
					final AlertDialog.Builder Uninstall = new AlertDialog.Builder(MainActivity.this, R.style.Other_Dialog);
					
					String Title = "<b>".concat(uninstall_patched.getText().toString().concat("</b>"));
					String TitleColor = "1DB954";
					
					Uninstall.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
					Uninstall.setPositiveButton(ream.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Uninstall, int p) {
							AlertDialog.setCancelable(true);
							Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.music")); 
							startActivity(intent);
							                }
						            });
					Uninstall.setNegativeButton(cloned.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Uninstall, int p) {
							
							AlertDialog.setCancelable(true);
							Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.musix")); 
							startActivity(intent);
							                }
						            });
					 Uninstall.setNeutralButton(close.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Uninstall, int p) {
							AlertDialog.setCancelable(true);
							                }
						            });
					AlertDialog = Uninstall.create();
					AlertDialog.setCancelable(false);
					AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
					AlertDialog.show();
					_Tap_Animation(box_uninstall);
				}
				catch(Exception e) {
					SketchwareUtil.CustomToast(getApplicationContext(), "Spotify not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
				}
			}
		});
		
		box_settings.setOnLongClickListener(new View.OnLongClickListener() {
			@Override
			public boolean onLongClick(View _view) {
				SketchwareUtil.showMessage(getApplicationContext(), "Open patched's app settings");
				return true;
			}
		});
		
		box_settings.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				try {
					final AlertDialog.Builder Settings = new AlertDialog.Builder(MainActivity.this, R.style.Other_Dialog);
					
					String Title = "<b>".concat(open_settings.getText().toString().concat("</b>"));
					String TitleColor = "1DB954";
					
					Settings.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
					Settings.setPositiveButton(ream.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Settings, int p) {
							AlertDialog.setCancelable(true);
							Intent intent = new Intent(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS); intent.setData(Uri.parse("package:com.spotify.music")); 
							startActivity(intent);
							                }
						            });
					Settings.setNegativeButton(cloned.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Settings, int p) {
							
							AlertDialog.setCancelable(true);
							Intent intent = new Intent(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS); intent.setData(Uri.parse("package:com.spotify.musix")); 
							startActivity(intent);
							                }
						            });
					 Settings.setNeutralButton(close.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Settings, int p) {
							AlertDialog.setCancelable(true);
							                }
						            });
					AlertDialog = Settings.create();
					AlertDialog.setCancelable(false);
					AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
					AlertDialog.show();
					_Tap_Animation(box_settings);
				}
				catch(Exception e) {
					SketchwareUtil.CustomToast(getApplicationContext(), "Application not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
				}
			}
		});
		
		box_cache.setOnLongClickListener(new View.OnLongClickListener() {
			@Override
			public boolean onLongClick(View _view) {
				SketchwareUtil.showMessage(getApplicationContext(), "Clear offline cached datas");
				return true;
			}
		});
		
		box_cache.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				try {
					if (CHECK == 0) {
						CHECK = 1;
						Timer = new TimerTask() {
							@Override
							public void run() {
								runOnUiThread(new Runnable() {
									@Override
									public void run() {
										CHECK = 0;
									}
								});
							}
						};
						_timer.schedule(Timer, (int)(2000));
						if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.spotify.music/") || FileUtil.isExistFile("/storage/emulated/0/Android/data/com.spotify.musix/")) {
							FileUtil.deleteFile("/storage/emulated/0/Android/data/com.spotify.music/");
							FileUtil.deleteFile("/storage/emulated/0/Android/data/com.spotify.musix/");
							SketchwareUtil.showMessage(getApplicationContext(), "Successfully deleted");
							Timer = new TimerTask() {
								@Override
								public void run() {
									runOnUiThread(new Runnable() {
										@Override
										public void run() {
											_Hide_Navigation();
										}
									});
								}
							};
							_timer.schedule(Timer, (int)(100));
						}
						else {
							SketchwareUtil.showMessage(getApplicationContext(), "Directory files are empty");
							Timer = new TimerTask() {
								@Override
								public void run() {
									runOnUiThread(new Runnable() {
										@Override
										public void run() {
											_Hide_Navigation();
										}
									});
								}
							};
							_timer.schedule(Timer, (int)(100));
						}
					}
					_Tap_Animation(box_cache);
				}
				catch(Exception e) {
				}
			}
		});
		
		box_open.setOnLongClickListener(new View.OnLongClickListener() {
			@Override
			public boolean onLongClick(View _view) {
				SketchwareUtil.showMessage(getApplicationContext(), "Launch patched app");
				return true;
			}
		});
		
		box_open.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				try {
					final AlertDialog.Builder Open = new AlertDialog.Builder(MainActivity.this, R.style.Other_Dialog);
					
					String Title = "<b>".concat(open_patched.getText().toString().concat("</b>"));
					String TitleColor = "1DB954";
					
					Open.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
					Open.setPositiveButton(ream.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Open, int p) {
							AlertDialog.setCancelable(true);
							String packageName = "com.spotify.music"; 
							
							Intent intent = getPackageManager().getLaunchIntentForPackage(packageName);
							if(intent == null) {
								
								try {
									intent = new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + packageName));
								} catch (Exception e) {
									SketchwareUtil.CustomToast(getApplicationContext(), "Spotify not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
								}
							}
							startActivity(intent);
							                }
						            });
					Open.setNegativeButton(cloned.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Open, int p) {
							
							AlertDialog.setCancelable(true);
							String packageName = "com.spotify.musix"; 
							
							Intent intent = getPackageManager().getLaunchIntentForPackage(packageName);
							if(intent == null) {
								
								try {
									intent = new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + packageName));
								} catch (Exception e) {
									SketchwareUtil.CustomToast(getApplicationContext(), "Cloned not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
								}
							}
							startActivity(intent);
							                }
						            });
					 Open.setNeutralButton(close.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Open, int p) {
							AlertDialog.setCancelable(true);
							                }
						            });
					AlertDialog = Open.create();
					AlertDialog.setCancelable(false);
					AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
					AlertDialog.show();
					_Tap_Animation(box_open);
				}
				catch(Exception e) {
					SketchwareUtil.CustomToast(getApplicationContext(), "Application not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
				}
			}
		});
		
		box_support.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				try {
					_Browser("https://t.me/SpotifyModSupport");
					_Tap_Animation(box_support);
				}
				catch(Exception e) {
				}
			}
		});
		
		box_reddit.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				try {
					_Browser("https://www.reddit.com/r/xManagerApp?utm_medium=android_app&utm_source=share");
					_Tap_Animation(box_reddit);
				}
				catch(Exception e) {
				}
			}
		});
		
		box_donate.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				try {
					final AlertDialog.Builder Donation = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
					
					String Title = "<b>".concat(show_support.getText().toString().concat("</b>"));
					String TitleColor = "1DB954";
					
					Donation.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
					String Message = show_support_desc.getText().toString().replace("\n", "<br/>");
					String MessageColor = "FFFFFF";
					
					Donation.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
					Donation.setPositiveButton(donate.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Donation, int p) {
							AlertDialog.setCancelable(true);
							try {
								_Browser("https://www.paypal.me/mrvnce");
							}
							catch(Exception e) {
							}
							                }
						            });
					 Donation.setNeutralButton(not_now.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Donation, int p) {
							AlertDialog.setCancelable(true);
							Timer = new TimerTask() {
								@Override
								public void run() {
									runOnUiThread(new Runnable() {
										@Override
										public void run() {
											_Hide_Navigation();
										}
									});
								}
							};
							_timer.schedule(Timer, (int)(100));
							                }
						            });
					AlertDialog = Donation.create();
					AlertDialog.setCancelable(false);
					AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
					AlertDialog.show();
					_Tap_Animation(box_donate);
				}
				catch(Exception e) {
				}
			}
		});
		
		box_about.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				RippleAnimation.create(box_about).setDuration((long)1000).start();
				main_body_optimization.setVisibility(View.GONE);
				main_scroll_settings.setVisibility(View.GONE);
				main_scroll_about.setVisibility(View.VISIBLE);
				main_refresh_layout.setVisibility(View.GONE);
				box_update.setVisibility(View.GONE);
				box_switch.setVisibility(View.GONE);
				title_header.setText(about_title.getText().toString());
				title_header_beta.setTextColor(Color.TRANSPARENT);
				title_header_separator.setTextColor(Color.TRANSPARENT);
				_Tap_Animation(box_about);
				CLOSER_1 = 1;
				_Animation_2();
			}
		});
		
		box_discord.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				try {
					_Browser("https://discord.gg/dnpKn5Wufm");
					_Tap_Animation(box_discord);
				}
				catch(Exception e) {
				}
			}
		});
		
		box_source.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				try {
					_Browser("https://github.com/xManager-v2/xManager-Spotify");
					_Tap_Animation(box_source);
				}
				catch(Exception e) {
				}
			}
		});
		
		box_website.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				try {
					_Browser("https://xmanagerapp.com/");
					_Tap_Animation(box_website);
				}
				catch(Exception e) {
				}
			}
		});
		
		box_faq.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				try {
					_Browser("https://xmanagerapp.com/faq");
					_Tap_Animation(box_faq);
				}
				catch(Exception e) {
				}
			}
		});
		
		_Connection_request_listener = new RequestNetwork.RequestListener() {
			@Override
			public void onResponse(String _param1, String _param2, HashMap<String, Object> _param3) {
				final String _tag = _param1;
				final String _response = _param2;
				final HashMap<String, Object> _responseHeaders = _param3;
				try {
					Datas = new Gson().fromJson(_response, new TypeToken<HashMap<String, Object>>(){}.getType());
				} catch (Exception e) {
					com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "No API Response. Try Again.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
				}
				_Backbone();
			}
			
			@Override
			public void onErrorResponse(String _param1, String _param2) {
				final String _tag = _param1;
				final String _message = _param2;
				
			}
		};
	}
	
	private void initializeLogic() {
		try {
			_Dark_Navigation();
			_Language_Pack();
			_Theme_Pack();
			_Informations();
			_Gate_Keeper();
			_Animation_0();
			_Initialize();
			_API();
		}
		catch(Exception e) {
		}
	}
	
	@Override
	public void onBackPressed() {
		try {
			if (CLOSER_1 == 1) {
				CHECK = 0;
				box_icon_close.performClick();
			}
			else {
				if (CLOSER_2 == 1) {
					CHECK = 0;
					box_settings_icon_close.performClick();
				}
			}
			if (CHECK == 0) {
				CHECK = 1;
				Timer = new TimerTask() {
					@Override
					public void run() {
						runOnUiThread(new Runnable() {
							@Override
							public void run() {
								CHECK = 0;
							}
						});
					}
				};
				_timer.schedule(Timer, (int)(3000));
				SketchwareUtil.showMessage(getApplicationContext(), "Press back again to exit");
			}
			else {
				finishAndRemoveTask();
				finishAffinity();
			}
		}
		catch(Exception e) {
		}
	}
	
	@Override
	public void onResume() {
		super.onResume();
		_Hide_Navigation();
	}
	
	
	private class UnityAdsListener implements
	IUnityAdsListener {
		public void onUnityAdsReady(String placementRewardedVideo) {
			 
		}
		@Override
		public void onUnityAdsStart(String placementRewardedVideo) {
			 
		}
		@Override
		public void onUnityAdsFinish(String placementRewardedVideo, UnityAds.FinishState finishState) {
			if (finishState.equals(UnityAds.FinishState.COMPLETED)) {
				if (COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_ON")) {
					((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", DOWNLOAD.getString("PATCHED", "")));
					SketchwareUtil.showMessage(getApplicationContext(), "Copied Successfully");
				}
				if (CLONED_VERSION.getString("CLONED", "").equals("ON") && COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_OFF")) {
					if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
						_Download_Install_Cloned(DOWNLOAD.getString("PATCHED", ""), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
					}
					else {
						if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
							_Download_Cloned(DOWNLOAD.getString("PATCHED", ""), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
						}
					}
				}
				else {
					
				}
				if (CLONED_VERSION.getString("CLONED", "").equals("OFF") && COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_OFF")) {
					if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
						_Download_Install(DOWNLOAD.getString("PATCHED", ""), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
					}
					else {
						if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
							_Download(DOWNLOAD.getString("PATCHED", ""), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
						}
					}
				}
				else {
					
				}
			}
			else {
				if (finishState.equals(UnityAds.FinishState.ERROR)) {
					SketchwareUtil.showMessage(getApplicationContext(), "Well, that was unexpected.");
				}
			}
		}
		@Override
		public void onUnityAdsError(UnityAds.UnityAdsError error, String message) {
			 
		}
	}
	public void _Informations() {
		Timer = new TimerTask() {
			@Override
			public void run() {
				runOnUiThread(new Runnable() {
					@Override
					public void run() {
						Timer = new TimerTask() {
							@Override
							public void run() {
								runOnUiThread(new Runnable() {
									@Override
									public void run() {
										if (Installed_Checker.equals("true") && Installed_Checker_Cloned.equals("true")) {
											sub_installed.setVisibility(View.VISIBLE);
											sub_separator.setVisibility(View.VISIBLE);
											sub_installed_c.setVisibility(View.VISIBLE);
											sub_installed.setTextColor(0xFFFFFFFF);
											sub_separator.setTextColor(0xFF1DB954);
											sub_installed_c.setTextColor(0xFFBDBDBD);
										}
										else {
											if (Installed_Checker.equals("false") && Installed_Checker_Cloned.equals("false")) {
												sub_installed.setVisibility(View.VISIBLE);
												sub_separator.setVisibility(View.GONE);
												sub_installed_c.setVisibility(View.GONE);
												sub_installed.setTextColor(0xFFFFFFFF);
												sub_separator.setTextColor(0xFF1DB954);
												sub_installed_c.setTextColor(0xFFBDBDBD);
											}
											else {
												if (Installed_Checker.equals("true") && Installed_Checker_Cloned.equals("false")) {
													sub_installed.setVisibility(View.VISIBLE);
													sub_separator.setVisibility(View.GONE);
													sub_installed_c.setVisibility(View.GONE);
													sub_installed.setTextColor(0xFFFFFFFF);
													sub_separator.setTextColor(0xFF1DB954);
													sub_installed_c.setTextColor(0xFFBDBDBD);
												}
												else {
													if (Installed_Checker.equals("false") && Installed_Checker_Cloned.equals("true")) {
														sub_installed.setVisibility(View.GONE);
														sub_separator.setVisibility(View.GONE);
														sub_installed_c.setVisibility(View.VISIBLE);
														sub_installed.setTextColor(0xFFFFFFFF);
														sub_separator.setTextColor(0xFF1DB954);
														sub_installed_c.setTextColor(0xFFBDBDBD);
													}
												}
											}
										}
										sub_installed.setText("N/A");
										sub_installed_c.setText("N/A");
										cpu.setText("N/A");
										String uri = "com.spotify.music";
										android.content.pm.PackageManager pm = getPackageManager();
										
										try {
												android.content.pm.PackageInfo pInfo = pm.getPackageInfo(uri, android.content.pm.PackageManager.GET_ACTIVITIES);
												String version = pInfo.versionName;
												sub_installed.setText(version);
												Installed_Checker = "true";
										}
										
										catch (Exception e) {
												sub_installed.setText("N/A");
												Installed_Checker = "false";
										}
										
										String uri_c = "com.spotify.musix";
										android.content.pm.PackageManager pm_c = getPackageManager();
										
										try {
												android.content.pm.PackageInfo pInfo = pm_c.getPackageInfo(uri_c, android.content.pm.PackageManager.GET_ACTIVITIES);
												String version_c = pInfo.versionName;
												sub_installed_c.setText(version_c);
												Installed_Checker_Cloned = "true";
										}
										
										catch (Exception e) {
												sub_installed_c.setText("N/A");
												Installed_Checker_Cloned = "false";
										}
										
										String app = "com.xc3fff0e.xmanager";
										android.content.pm.PackageManager ver = getPackageManager();
										
										try {
												android.content.pm.PackageInfo pInfo = ver.getPackageInfo(app, android.content.pm.PackageManager.GET_ACTIVITIES);
												String version = pInfo.versionName;
												local_version.setText(version);
												
										}
										catch (Exception e) {
												SketchwareUtil.showMessage(getApplicationContext(), "Fatal Error");
										}
										
										cpu.setText(Build.CPU_ABI);
										
										cpu.setText(cpu.getText().toString().toUpperCase());
									}
								});
							}
						};
						_timer.schedule(Timer, (int)(75));
					}
				});
			}
		};
		_timer.scheduleAtFixedRate(Timer, (int)(0), (int)(150));
	}
	
	
	public void _Download(final String _url, final String _path) {
		try {
			FileUtil.makeDir(FileUtil.getPackageDataDir(getApplicationContext()));
			
			android.net.ConnectivityManager connMgr = (android.net.ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
			android.net.NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();
			if (networkInfo != null && networkInfo.isConnected()) {
					final String urlDownload = _url;
					DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
					final String fileName = URLUtil.guessFileName(urlDownload, null, null);
					request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
					request.setMimeType("application/vnd.android.package-archive");
					request.allowScanningByMediaScanner();
					request.setDestinationInExternalFilesDir(this,Environment.DIRECTORY_DOWNLOADS, "Spotify Mod (Official).apk");
					final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
					final long downloadId = manager.enqueue(request);
					final ProgressDialog prog = new ProgressDialog(MainActivity.this, R.style.Progress_Dialog);
					prog.setMax(100);
					prog.setIndeterminate(false);
					prog.setCancelable(false);
					prog.setCanceledOnTouchOutside(false);
					prog.setTitle(downloading_file_0);
					new Thread(new Runnable() {
							@Override
							public void run() {
									boolean downloading = true;
									while (downloading) {
											DownloadManager.Query q = new DownloadManager.Query();
											q.setFilterById(downloadId);
											android.database.Cursor cursor = manager.query(q);
											if (cursor != null) { 
													if (cursor.moveToFirst()) {
															int bytes_downloaded = cursor.getInt(cursor .getColumnIndex(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR));
															int bytes_total = cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_TOTAL_SIZE_BYTES));
															if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_SUCCESSFUL) {
																	downloading = false;
															}
															if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_FAILED) {
																	runOnUiThread(new Runnable() {
																			public void run() {
																					SketchwareUtil.showMessage(getApplicationContext(), "The file or link is currently unavailable. Please try again later.");
																					_File_Remover();
																			}
																	});
																	try {
																			prog.cancel();
																			break;
																	} catch (Exception e) {
																	}
															}				
															final int dl_progress = (int) (bytes_total != 0 ? (bytes_downloaded * 100l) / bytes_total : 0) ;
															final int dl_max = (int) (100);
															final float file_front = (float) ((bytes_downloaded * 1.0) / 1048576.0);
															final float file_end = (float) ((bytes_total * 1.0) / 1048576.0);
															String file_min = String.format("%.2f", file_front);
															String file_fix = String.format("%.2f", file_end);
															String file_max = file_fix.replace("-", "");
															runOnUiThread(new Runnable() {
																	@Override
																	public void run() {
																			if (!MainActivity.this.isFinishing()) {
																					prog.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
																					String Title = "<b>".concat(downloading_file_0.concat("</b>"));
																					String TitleColor = "1DB954";
																					prog.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																					prog.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
																					prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
																					prog.setProgressNumberFormat((file_min) + " MB" + " | " + (file_max) + " MB");
																					prog.setProgress(dl_progress);
																					prog.setMax(dl_max);
																					prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
																							@Override
																							public void onClick(DialogInterface dialog, int which) {
																									manager.remove(downloadId);
																									Timer = new TimerTask() {
																											@Override
																											public void run() {
																													runOnUiThread(new Runnable() {
																															@Override
																															public void run() {
																																	try {
																																			_Hide_Navigation();
																																			_File_Remover();
																																			prog.cancel();
																																	} catch (Exception e) {
																																	}
																															}
																													});
																											}
																									};
																									_timer.schedule(Timer, (int)(0));
																							}
																					});
																					prog.show();
																			}
																			if (bytes_downloaded == bytes_total) {
																					Timer = new TimerTask() {
																							@Override
																							public void run() {
																									runOnUiThread(new Runnable() {
																											@Override
																											public void run() {	
																													try {
																															FileUtil.copyFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk", apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"));
																													}
																													catch(Exception e) {
																													}
																													if (!MainActivity.this.isFinishing()) {
																															final AlertDialog.Builder Success_Download = new AlertDialog.Builder(MainActivity.this, R.style.Other_Dialog);
																															String Title = "<b>".concat(download_success_0.concat("</b>"));
																															String TitleColor = "1DB954";
																															Success_Download.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																															Success_Download.setPositiveButton(install_now_0, new DialogInterface.OnClickListener(){
																																	@Override
																																	public void onClick(DialogInterface Success_Download, int p) {
																																			AlertDialog.setCancelable(true);
																																			prog.cancel();
																																			version_switch_01.setChecked(false);
																																			version_switch_02.setChecked(false);
																																			changelogs_switch.setChecked(false);
																																			if ((Installed_Version < Downloaded_Version) || ((Downloaded_Version > Installed_Version) || ((Installed_Version == Downloaded_Version) || Installed_Checker.equals("false")))) {
																																					if (getISignature(getApplicationContext()).equals(getDSignature(getApplicationContext())) || Installed_Checker.equals("false")) {
																																							StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
																																							if(android.os.Build.VERSION.SDK_INT >= 29){
																																									try {
																																											Intent intent = new Intent(Intent.ACTION_VIEW);
																																											intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
																																											intent.setDataAndType(FileProvider.getUriForFile(MainActivity.this, "com.xc3fff0e.xmanager.provider", new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
																																											startActivity(intent);
																																									}
																																									catch(Exception e) {
																																									}
																																							} else {
																																									try {
																																											Intent intent = new Intent(Intent.ACTION_VIEW);
																																											intent.setDataAndType(Uri.fromFile(new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
																																											startActivity(intent);
																																											Timer = new TimerTask() {
																																													@Override
																																													public void run() {
																																															runOnUiThread(new Runnable() {
																																																	@Override
																																																	public void run() {
																																																			_Hide_Navigation();
																																																	}
																																															});
																																													}
																																											};
																																											_timer.schedule(Timer, (int)(100));
																																									}
																																									catch(Exception e) {
																																									}
																																							} 
																																					} else {
																																							if (!MainActivity.this.isFinishing()) {
																																									final AlertDialog.Builder Signature_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
																																									String Title = "<b>".concat(installation_failed_0.concat("</b>"));
																																									String TitleColor = "1DB954";
																																									Signature_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																																									String Message = installation_failed_ream_desc_0.replace("\n", "<br/>");
																																									String MessageColor = "FFFFFF";
																																									Signature_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
																																									Signature_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																																											@Override
																																											public void onClick(DialogInterface Signature_Check, int p) {
																																													_Hide_Navigation();
																																													AlertDialog.setCancelable(true);
																																													try {
																																															Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.music")); 
																																															startActivity(intent);
																																													}
																																													catch(Exception e) {
																																													}
																																											}
																																									});
																																									Signature_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																																											@Override
																																											public void onClick(DialogInterface Signature_Check, int p) {
																																													_Hide_Navigation();
																																													AlertDialog.setCancelable(true);
																																											}
																																									});
																																									AlertDialog = Signature_Check.create();
																																									AlertDialog.setCancelable(false);
																																									AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
																																									AlertDialog.show();
																																							}
																																					}	
																																			}
																																			else {
																																					if (Downloaded_Version < Installed_Version) {
																																							if (!MainActivity.this.isFinishing()) {
																																									final AlertDialog.Builder Downgrade_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
																																									String Title = "<b>".concat(installation_failed_0.concat("</b>"));
																																									String TitleColor = "1DB954";
																																									Downgrade_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																																									String Message = installation_failed_desc_0.replace("\n", "<br/>");
																																									String MessageColor = "FFFFFF";
																																									Downgrade_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
																																									Downgrade_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																																											@Override
																																											public void onClick(DialogInterface Downgrade_Check, int p) {
																																													_Hide_Navigation();
																																													AlertDialog.setCancelable(true);
																																													try {
																																															Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.music")); 
																																															startActivity(intent);
																																													}
																																													catch(Exception e) {
																																													}
																																											}
																																									});
																																									Downgrade_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																																											@Override
																																											public void onClick(DialogInterface Downgrade_Check, int p) {
																																													_Hide_Navigation();
																																													AlertDialog.setCancelable(true);
																																											}
																																									});
																																									AlertDialog = Downgrade_Check.create();
																																									AlertDialog.setCancelable(false);
																																									AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
																																									AlertDialog.show();
																																							}
																																					}
																																			}
																																	}
																															});
																															Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener(){
																																	@Override
																																	public void onClick(DialogInterface Success_Download, int p) {
																																			AlertDialog.setCancelable(true);
																																			Timer = new TimerTask() {
																																					@Override
																																					public void run() {
																																							runOnUiThread(new Runnable() {
																																									@Override
																																									public void run() {
																																											_Hide_Navigation();
																																									}
																																							});
																																					}
																																			};
																																			_timer.schedule(Timer, (int)(100));
																																	}
																															});
																															AlertDialog = Success_Download.create();
																															AlertDialog.setCancelable(false);
																															AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
																															AlertDialog.show();
																													}
																													prog.cancel();
																											}
																									});
																							}
																					};
																					_timer.schedule(Timer, (int)(1500));
																			}
																	} });
													}
													cursor.close();
											}
									} } }).start();
			} else {
					com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Slow or no internet connection. Try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
			}
			
		}
		catch(Exception e) {
		}
	}
	
	
	public void _File_Remover() {
		if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/") && (FileUtil.isExistFile("/storage/emulated/0/xManager/") && FileUtil.isExistFile(apk_path_location.getText().toString()))) {
			FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/");
			FileUtil.deleteFile("/storage/emulated/0/xManager/");
			FileUtil.deleteFile(apk_path_location.getText().toString());
		}
		else {
			if (!(FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/") && (FileUtil.isExistFile("/storage/emulated/0/xManager/") && FileUtil.isExistFile(apk_path_location.getText().toString())))) {
				
			}
		}
		if (FileUtil.isExistFile(apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"))) {
			FileUtil.deleteFile(apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"));
		}
		if (FileUtil.isExistFile(apk_path_location.getText().toString().concat("Spotify Mod (Official) [Cloned].apk"))) {
			FileUtil.deleteFile(apk_path_location.getText().toString().concat("Spotify Mod (Official) [Cloned].apk"));
		}
		if (FileUtil.isExistFile("/storage/emulated/0/xManager/Spotify Mod (Official).apk")) {
			FileUtil.deleteFile("/storage/emulated/0/xManager/Spotify Mod (Official).apk");
		}
		if (FileUtil.isExistFile("/storage/emulated/0/xManager/Spotify Mod (Official) [Cloned].apk")) {
			FileUtil.deleteFile("/storage/emulated/0/xManager/Spotify Mod (Official) [Cloned].apk");
		}
	}
	
	
	public void _Update_Remover() {
		if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Update/xManager Update.apk")) {
			FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Update/xManager Update.apk");
		}
		if (FileUtil.isExistFile("/storage/emulated/0/xManager/Update/xManager Update.apk")) {
			FileUtil.deleteFile("/storage/emulated/0/xManager/Update/xManager Update.apk");
		}
	}
	
	
	public void _Theme_UI() {
		if (THEME.getString("THEME", "").equals("0")) {
			main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF000000}));
			main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF000000}));
			main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF000000}));
			select_theme.setSelection((int)(0));
		}
		else {
			if (THEME.getString("THEME", "").equals("1")) {
				main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF1DB954}));
				main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF1DB954}));
				main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF1DB954}));
				select_theme.setSelection((int)(1));
			}
			else {
				if (THEME.getString("THEME", "").equals("2")) {
					main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFAA00FF}));
					main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFAA00FF}));
					main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFAA00FF}));
					select_theme.setSelection((int)(2));
				}
				else {
					if (THEME.getString("THEME", "").equals("3")) {
						main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFD50000}));
						main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFD50000}));
						main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFD50000}));
						select_theme.setSelection((int)(3));
					}
					else {
						if (THEME.getString("THEME", "").equals("4")) {
							main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF2962FF}));
							main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF2962FF}));
							main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF2962FF}));
							select_theme.setSelection((int)(4));
						}
						else {
							if (THEME.getString("THEME", "").equals("5")) {
								main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFF6D00}));
								main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFF6D00}));
								main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFF6D00}));
								select_theme.setSelection((int)(5));
							}
							else {
								if (THEME.getString("THEME", "").equals("6")) {
									main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFFD600}));
									main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFFD600}));
									main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFFD600}));
									select_theme.setSelection((int)(6));
								}
								else {
									if (THEME.getString("THEME", "").equals("7")) {
										main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF616161}));
										main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF616161}));
										main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF616161}));
										select_theme.setSelection((int)(7));
									}
									else {
										if (THEME.getString("THEME", "").equals("8")) {
											main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF607D8B}));
											main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF607D8B}));
											main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF607D8B}));
											select_theme.setSelection((int)(8));
										}
										else {
											if (THEME.getString("THEME", "").equals("9")) {
												main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFE91E63}));
												main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFE91E63}));
												main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFE91E63}));
												select_theme.setSelection((int)(9));
											}
											else {
												if (THEME.getString("THEME", "").equals("10")) {
													main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF00BCD4}));
													main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF00BCD4}));
													main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF00BCD4}));
													select_theme.setSelection((int)(10));
												}
												else {
													if (THEME.getString("THEME", "").equals("11")) {
														main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFFFFFF}));
														main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFFFFFF}));
														main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFFFFFFFF}));
														select_theme.setSelection((int)(11));
													}
													else {
														if (THEME.getString("THEME", "").equals("12")) {
															main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF795548}));
															main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF795548}));
															main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF795548}));
															select_theme.setSelection((int)(12));
														}
														else {
															if (THEME.getString("THEME", "").equals("13")) {
																main_refresh_layout.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF3F51B5}));
																main_scroll_about.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF3F51B5}));
																main_scroll_settings.setBackground(new GradientDrawable(GradientDrawable.Orientation.BR_TL, new int[] {0xFF000000,0xFF3F51B5}));
																select_theme.setSelection((int)(13));
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
	
	
	public void _Updater() {
		try {
			if (Latest_Version > Current_Version) {
				try {
					final AlertDialog.Builder Update_Authorized = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
					
					String Title = "<b>".concat(new_update.getText().toString().concat("</b>"));
					String TitleColor = "1DB954";
					
					Update_Authorized.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
					String Message = "What's New (Version ".concat(String.valueOf(Latest_Version).concat("):<br/><br/>".concat(app_changelogs.getText().toString().replace("\n", "<br/>"))));
					String MessageColor = "FFFFFF";
					
					Update_Authorized.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
					Update_Authorized.setPositiveButton(download_update.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Update_Authorized, int p) {
							AlertDialog.setCancelable(true);
							try {
								if (FORCE_INSTALL_UPDATE.getString("FORCE_INSTALL_UPDATE", "").equals("XX")) {
									_Download_Update_Install(hidden_update.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Update/");
								}
								else {
									if (FORCE_INSTALL_UPDATE.getString("FORCE_INSTALL_UPDATE", "").equals("YY")) {
										_Download_Update(hidden_update.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Update/");
									}
								}
							}
							catch(Exception e) {
							}
							_Update_Remover();
							Timer = new TimerTask() {
								@Override
								public void run() {
									runOnUiThread(new Runnable() {
										@Override
										public void run() {
											_Hide_Navigation();
										}
									});
								}
							};
							_timer.schedule(Timer, (int)(100));
							                }
						            });
					 Update_Authorized.setNeutralButton(not_now.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Update_Authorized, int p) {
							AlertDialog.setCancelable(true);
							Timer = new TimerTask() {
								@Override
								public void run() {
									runOnUiThread(new Runnable() {
										@Override
										public void run() {
											_Hide_Navigation();
										}
									});
								}
							};
							_timer.schedule(Timer, (int)(100));
							                }
						            });
					AlertDialog = Update_Authorized.create();
					AlertDialog.setCancelable(false);
					AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
					AlertDialog.show();
				}
				catch(Exception e) {
				}
			}
			else {
				if (Latest_Version < Current_Version) {
					try {
						main_body_optimization.setVisibility(View.VISIBLE);
						box_header.setVisibility(View.GONE);
						main_body_settings.setVisibility(View.GONE);
						main_scroll_about.setVisibility(View.GONE);
						main_refresh_layout.setVisibility(View.GONE);
						final AlertDialog.Builder Update_Unauthorized = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
						
						String Title = "<b>".concat(maintenance.getText().toString().concat("</b>"));
						String TitleColor = "1DB954";
						
						Update_Unauthorized.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
						String Message = maintenance_desc.getText().toString();
						String MessageColor = "FFFFFF";
						
						Update_Unauthorized.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
						Update_Unauthorized.setPositiveButton(thanks.getText().toString(), new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Update_Unauthorized, int p) {
								AlertDialog.setCancelable(true);
								finishAndRemoveTask();
								finishAffinity();
								                }
							            });
						 Update_Unauthorized.setNeutralButton(support.getText().toString(), new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Update_Unauthorized, int p) {
								AlertDialog.setCancelable(false);
								AlertDialog.show();
								_Maintenance();
								try {
									_Browser("https://t.me/SpotifyModSupport");
								}
								catch(Exception e) {
								}
								                }
							            });
						AlertDialog = Update_Unauthorized.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
					}
					catch(Exception e) {
					}
				}
			}
		}
		catch(Exception e) {
		}
	}
	
	
	public void _Download_Update(final String _url, final String _path) {
		try {
			FileUtil.makeDir(FileUtil.getPackageDataDir(getApplicationContext()));
			
			android.net.ConnectivityManager connMgr = (android.net.ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
			android.net.NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();
			if (networkInfo != null && networkInfo.isConnected()) {
					final String urlDownload = _url;
					DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
					final String fileName = URLUtil.guessFileName(urlDownload, null, null);
					request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
					request.setMimeType("application/vnd.android.package-archive");
					request.allowScanningByMediaScanner();
					request.setDestinationInExternalFilesDir(this,Environment.DIRECTORY_DOWNLOADS, "/Update/xManager Update.apk");
					final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
					final long downloadId = manager.enqueue(request);
					final ProgressDialog prog = new ProgressDialog(MainActivity.this, R.style.Progress_Dialog);
					prog.setMax(100);
					prog.setIndeterminate(false);
					prog.setCancelable(false);
					prog.setCanceledOnTouchOutside(false);
					prog.setTitle(downloading_file_0);
					new Thread(new Runnable() {
							@Override
							public void run() {
									boolean downloading = true;
									while (downloading) {
											DownloadManager.Query q = new DownloadManager.Query();
											q.setFilterById(downloadId);
											android.database.Cursor cursor = manager.query(q);
											if (cursor != null) { 
													if (cursor.moveToFirst()) {
															int bytes_downloaded = cursor.getInt(cursor .getColumnIndex(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR));
															int bytes_total = cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_TOTAL_SIZE_BYTES));
															if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_SUCCESSFUL) {
																	downloading = false;
															}
															if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_FAILED) {
																	runOnUiThread(new Runnable() {
																			public void run() { 
																					SketchwareUtil.showMessage(getApplicationContext(), "The file or link is currently unavailable. Please try again later.");
																					_Update_Remover();
																			}
																	});
																	try {
																			prog.cancel();
																			break;
																	} catch (Exception e) {
																	}
															}
															final int dl_progress = (int) (bytes_total != 0 ? (bytes_downloaded * 100l) / bytes_total : 0) ;
															final int dl_max = (int) (100);
															final float file_front = (float) ((bytes_downloaded * 1.0) / 1048576.0);
															final float file_end = (float) ((bytes_total * 1.0) / 1048576.0);
															String file_min = String.format("%.2f", file_front);
															String file_fix = String.format("%.2f", file_end);
															String file_max = file_fix.replace("-", "");
															runOnUiThread(new Runnable() {
																	@Override
																	public void run() {
																			if (!MainActivity.this.isFinishing()) {
																					prog.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
																					String Title = "<b>".concat(downloading_file_0.concat("</b>"));
																					String TitleColor = "1DB954";
																					prog.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																					prog.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
																					prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
																					prog.setProgressNumberFormat((file_min) + " MB" + " | " + (file_max) + " MB");
																					prog.setProgress(dl_progress);
																					prog.setMax(dl_max);
																					prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
																							@Override
																							public void onClick(DialogInterface dialog, int which) {
																									manager.remove(downloadId);
																									Timer = new TimerTask() {
																											@Override
																											public void run() {
																													runOnUiThread(new Runnable() {
																															@Override
																															public void run() {
																																	try {
																																			_Hide_Navigation();
																																			_Update_Remover();
																																			prog.cancel();
																																	} catch (Exception e) {
																																	}
																															}
																													});
																											}
																									};
																									_timer.schedule(Timer, (int)(0));
																							}
																					});
																					prog.show();
																			}
																			if (bytes_downloaded == bytes_total) {
																					Timer = new TimerTask() {
																							@Override
																							public void run() {
																									runOnUiThread(new Runnable() {
																											@Override
																											public void run() {
																													try {
																															FileUtil.copyFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/xManager Update.apk", "/storage/emulated/0/xManager/Update/xManager Update.apk");
																															prog.dismiss();
																													}
																													catch(Exception e) {
																													}
																													prog.cancel();
																													if (!MainActivity.this.isFinishing()) {
																															final AlertDialog.Builder Success_Download = new AlertDialog.Builder(MainActivity.this, R.style.Other_Dialog);
																															String Title = "<b>".concat(download_success_0.concat("</b>"));
																															String TitleColor = "1DB954";
																															Success_Download.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																															Success_Download.setPositiveButton(install_update_0, new DialogInterface.OnClickListener(){
																																	@Override
																																	public void onClick(DialogInterface Success_Download, int p) {
																																			AlertDialog.setCancelable(true);
																																			version_switch_01.setChecked(false);
																																			version_switch_02.setChecked(false);
																																			changelogs_switch.setChecked(false);
																																			StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
																																			if(android.os.Build.VERSION.SDK_INT >= 29){
																																					try {
																																							Intent intent = new Intent(Intent.ACTION_VIEW);
																																							intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
																																							intent.setDataAndType(FileProvider.getUriForFile(MainActivity.this, "com.xc3fff0e.xmanager.provider", new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Update/xManager Update.apk")), "application/vnd.android.package-archive");
																																							startActivity(intent);
																																					}
																																					catch(Exception e) {
																																					}
																																			} else {
																																					try {
																																							Intent intent = new Intent(Intent.ACTION_VIEW);
																																							intent.setDataAndType(Uri.fromFile(new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Update/xManager Update.apk")), "application/vnd.android.package-archive");
																																							startActivity(intent);
																																							Timer = new TimerTask() {
																																									@Override
																																									public void run() {
																																											runOnUiThread(new Runnable() {
																																													@Override
																																													public void run() {
																																															_Hide_Navigation();
																																													}
																																											});
																																									}
																																							};
																																							_timer.schedule(Timer, (int)(100));
																																					}
																																					catch(Exception e) {
																																					}
																																			}
																																	}
																															});
																															Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener(){
																																	@Override
																																	public void onClick(DialogInterface Success_Download, int p) {
																																			AlertDialog.setCancelable(true);
																																	}
																															});
																															AlertDialog = Success_Download.create();
																															AlertDialog.setCancelable(false);
																															AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
																															AlertDialog.show();
																													}
																													prog.cancel();
																											}
																									});
																							}
																					};
																					_timer.schedule(Timer, (int)(1500));
																			}
																	} });
													}
													cursor.close();
											}
									} } }).start();
			} else {
					com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Slow or no internet connection. Try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
			}
			
		}
		catch(Exception e) {
		}
	}
	
	
	public void _Effects() {
		_Ripple(box_update, "#9E9E9E");
		_Ripple(box_switch, "#9E9E9E");
		_Ripple(box_uninstall, "#9E9E9E");
		_Ripple(box_settings, "#9E9E9E");
		_Ripple(box_cache, "#9E9E9E");
		_Ripple(box_open, "#9E9E9E");
	}
	
	
	public void _Ripple(final View _view, final String _c) {
		_view.setBackground(Drawables.getSelectableDrawableFor(Color.parseColor(_c)));
		_view.setClickable(true);
		
	}
	
	public static class Drawables {
		public static android.graphics.drawable.Drawable getSelectableDrawableFor(int color) {
				if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
						android.graphics.drawable.StateListDrawable stateListDrawable = new android.graphics.drawable.StateListDrawable();
						stateListDrawable.addState(
						new int[]{android.R.attr.state_pressed},
						new android.graphics.drawable.ColorDrawable(Color.parseColor("#ffffff"))
						);
						stateListDrawable.addState(
						new int[]{android.R.attr.state_focused},
						new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"))
						);
						stateListDrawable.addState(
						new int[]{},
						new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"))
						);
						return stateListDrawable;
				} else {
						android.content.res.ColorStateList pressedColor = android.content.res.ColorStateList.valueOf(color);
						android.graphics.drawable.ColorDrawable defaultColor = new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"));
						
						android.graphics.drawable.Drawable rippleColor = getRippleColor(color);
						return new android.graphics.drawable.RippleDrawable(
						pressedColor,
						defaultColor,
						rippleColor
						);
				}
		}
		
		private static android.graphics.drawable.Drawable getRippleColor(int color) {
				float[] outerRadii = new float[8];
				Arrays.fill(outerRadii, 0);
				android.graphics.drawable.shapes.RoundRectShape r = new android.graphics.drawable.shapes.RoundRectShape(outerRadii, null, null);
				
				android.graphics.drawable.ShapeDrawable shapeDrawable = new 
				android.graphics.drawable.ShapeDrawable(r);
				shapeDrawable.getPaint().setColor(color);
				return shapeDrawable;
		}
		
		private static int lightenOrDarken(int color, double fraction) {
				if (canLighten(color, fraction)) {
						return lighten(color, fraction);
				} else {
						return darken(color, fraction);
				}
		}
		
		private static int lighten(int color, double fraction) {
				int red = Color.red(color);
				int green = Color.green(color);
				int blue = Color.blue(color);
				red = lightenColor(red, fraction);
				green = lightenColor(green, fraction);
				blue = lightenColor(blue, fraction);
				int alpha = Color.alpha(color);
				return Color.argb(alpha, red, green, blue);
		}
		
		private static int darken(int color, double fraction) {
				int red = Color.red(color);
				int green = Color.green(color);
				int blue = Color.blue(color);
				red = darkenColor(red, fraction);
				green = darkenColor(green, fraction);
				blue = darkenColor(blue, fraction);
				int alpha = Color.alpha(color);
				
				return Color.argb(alpha, red, green, blue);
		}
		
		private static boolean canLighten(int color, double fraction) {
				int red = Color.red(color);
				int green = Color.green(color);
				int blue = Color.blue(color);
				return canLightenComponent(red, fraction)
				&& canLightenComponent(green, fraction)
				&& canLightenComponent(blue, fraction);
		}
		
		private static boolean canLightenComponent(int colorComponent, double fraction) {
				int red = Color.red(colorComponent);
				int green = Color.green(colorComponent);
				int blue = Color.blue(colorComponent);
				return red + (red * fraction) < 255
				&& green + (green * fraction) < 255
				&& blue + (blue * fraction) < 255;
		}
		
		private static int darkenColor(int color, double fraction) {
				return (int) Math.max(color - (color * fraction), 0);
		}
		
		private static int lightenColor(int color, double fraction) {
				return (int) Math.min(color + (color * fraction), 255);
		}
	}
	public static class CircleDrawables {
		public static android.graphics.drawable.Drawable getSelectableDrawableFor(int color) {
				if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
						android.graphics.drawable.StateListDrawable stateListDrawable = new android.graphics.drawable.StateListDrawable();
						stateListDrawable.addState(
						new int[]{android.R.attr.state_pressed},
						new android.graphics.drawable.ColorDrawable(Color.parseColor("#ffffff"))
						);
						stateListDrawable.addState(
						new int[]{android.R.attr.state_focused},
						new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"))
						);
						stateListDrawable.addState(
						new int[]{},
						new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"))
						);
						return stateListDrawable;
				} else {
						android.content.res.ColorStateList pressedColor = android.content.res.ColorStateList.valueOf(color);
						android.graphics.drawable.ColorDrawable defaultColor = new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"));
						
						android.graphics.drawable.Drawable rippleColor = getRippleColor(color);
						return new android.graphics.drawable.RippleDrawable(
						pressedColor,
						defaultColor,
						rippleColor
						);
				}
		}
		
		private static android.graphics.drawable.Drawable getRippleColor(int color) {
				float[] outerRadii = new float[180];
				Arrays.fill(outerRadii, 80);
				android.graphics.drawable.shapes.RoundRectShape r = new android.graphics.drawable.shapes.RoundRectShape(outerRadii, null, null);
				
				android.graphics.drawable.ShapeDrawable shapeDrawable = new 
				android.graphics.drawable.ShapeDrawable(r);
				shapeDrawable.getPaint().setColor(color);
				return shapeDrawable;
		}
		
		private static int lightenOrDarken(int color, double fraction) {
				if (canLighten(color, fraction)) {
						return lighten(color, fraction);
				} else {
						return darken(color, fraction);
				}
		}
		
		private static int lighten(int color, double fraction) {
				int red = Color.red(color);
				int green = Color.green(color);
				int blue = Color.blue(color);
				red = lightenColor(red, fraction);
				green = lightenColor(green, fraction);
				blue = lightenColor(blue, fraction);
				int alpha = Color.alpha(color);
				return Color.argb(alpha, red, green, blue);
		}
		
		private static int darken(int color, double fraction) {
				int red = Color.red(color);
				int green = Color.green(color);
				int blue = Color.blue(color);
				red = darkenColor(red, fraction);
				green = darkenColor(green, fraction);
				blue = darkenColor(blue, fraction);
				int alpha = Color.alpha(color);
				
				return Color.argb(alpha, red, green, blue);
		}
		
		private static boolean canLighten(int color, double fraction) {
				int red = Color.red(color);
				int green = Color.green(color);
				int blue = Color.blue(color);
				return canLightenComponent(red, fraction)
				&& canLightenComponent(green, fraction)
				&& canLightenComponent(blue, fraction);
		}
		
		private static boolean canLightenComponent(int colorComponent, double fraction) {
				int red = Color.red(colorComponent);
				int green = Color.green(colorComponent);
				int blue = Color.blue(colorComponent);
				return red + (red * fraction) < 255
				&& green + (green * fraction) < 255
				&& blue + (blue * fraction) < 255;
		}
		
		private static int darkenColor(int color, double fraction) {
				return (int) Math.max(color - (color * fraction), 0);
		}
		
		private static int lightenColor(int color, double fraction) {
				return (int) Math.min(color + (color * fraction), 255);
		}
	}
	
	public void drawableclass() {
		
	}
	
	
	public void _Hide_Navigation() {
		try {
			if (NAVIGATION_BAR.getString("NAVIGATION", "").equals("1")) {
				getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);
				
				navigation_switch.setChecked(true);
			}
			else {
				if (NAVIGATION_BAR.getString("NAVIGATION", "").equals("0")) {
					getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
					
					if (Build.VERSION.SDK_INT >= 21) {
							getWindow().setNavigationBarColor(Color.parseColor("#171717"));
					}
					
					navigation_switch.setChecked(false);
				}
			}
		}
		catch(Exception e) {
		}
	}
	
	
	public void _Animation_0() {
		Animation a;
		a = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		a.setDuration(200); main_box_1.startAnimation(a);
		a = null;
		Animation b;
		b = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		b.setDuration(300); main_box_2.startAnimation(b);
		b = null;
		Animation c;
		c = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		c.setDuration(400); main_box_6.startAnimation(c);
		c = null;
		Animation d;
		d = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		d.setDuration(500); box_sub_header.startAnimation(d);
		d = null;
		Animation e;
		e = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		e.setDuration(600); main_box_4.startAnimation(e);
		e = null;
		Animation f;
		f = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		f.setDuration(700); main_box_15.startAnimation(f);
		f = null;
		Animation g;
		g = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		g.setDuration(300); title_header.startAnimation(g);
		g = null;
		Animation h;
		h = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		h.setDuration(400); title_header_beta.startAnimation(h);
		h = null;
		Animation i;
		i = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		i.setDuration(500); title_header_separator.startAnimation(i);
		i = null;
		Animation j;
		j = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		j.setDuration(600); box_switch.startAnimation(j);
		j = null;
		Animation k;
		k = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		k.setDuration(700); box_update.startAnimation(k);
		k = null;
	}
	
	
	public void _Animation_1() {
		Animation a;
		a = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		a.setDuration(200); box_settings_close.startAnimation(a);
		a = null;
		Animation b;
		b = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		b.setDuration(300); title_header.startAnimation(b);
		b = null;
		Animation c;
		c = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		c.setDuration(300); main_box_16.startAnimation(c);
		c = null;
		Animation d;
		d = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		d.setDuration(400); main_box_8.startAnimation(d);
		d = null;
		Animation e;
		e = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		e.setDuration(500); main_box_11.startAnimation(e);
		e = null;
		Animation f;
		f = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		f.setDuration(600); main_box_12.startAnimation(f);
		f = null;
		Animation g;
		g = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		g.setDuration(700); main_box_17.startAnimation(g);
		g = null;
		Animation h;
		h = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		h.setDuration(800); main_box_7.startAnimation(h);
		h = null;
		Animation i;
		i = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		i.setDuration(900); main_box_5.startAnimation(i);
		i = null;
		Animation j;
		j = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		j.setDuration(1000); main_box_14.startAnimation(j);
		j = null;
		Animation k;
		k = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		k.setDuration(1100); main_box_9.startAnimation(k);
		k = null;
		Animation l;
		l = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		l.setDuration(1200); main_box_10.startAnimation(l);
		l = null;
		Animation m;
		m = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		m.setDuration(1300); main_box_13.startAnimation(m);
		m = null;
	}
	
	
	public void _Animation_2() {
		Animation a;
		a = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		a.setDuration(200); box_about_close.startAnimation(a);
		a = null;
		Animation b;
		b = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		b.setDuration(300); title_header.startAnimation(b);
		b = null;
		Animation c;
		c = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		c.setDuration(300); box_about_header.startAnimation(c);
		c = null;
		Animation d;
		d = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		d.setDuration(400); sub_title.startAnimation(d);
		d = null;
		Animation e;
		e = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		e.setDuration(500); box_about_1.startAnimation(e);
		e = null;
		Animation f;
		f = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		f.setDuration(600); box_about_2.startAnimation(f);
		f = null;
		Animation g;
		g = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		g.setDuration(700); box_about_3.startAnimation(g);
		g = null;
		Animation h;
		h = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		h.setDuration(800); box_about_4.startAnimation(h);
		h = null;
		Animation i;
		i = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		i.setDuration(900); box_about_5.startAnimation(i);
		i = null;
		Animation j;
		j = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		j.setDuration(1000); box_about_6.startAnimation(j);
		j = null;
		Animation k;
		k = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		k.setDuration(1100); box_about_7.startAnimation(k);
		k = null;
		Animation l;
		l = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		l.setDuration(1200); contributors_1.startAnimation(l);
		l = null;
	}
	
	
	public void _Dark_Navigation() {
		if (Build.VERSION.SDK_INT >= 21) {
				getWindow().setNavigationBarColor(Color.parseColor("#171717"));
		}
		
	}
	
	
	public void _List_Updater() {
		if (LIST_REFRESH.getString("UPDATE", "").equals("ON")) {
			try {
				list_auto_refresh_switch.setChecked(true);
				main_refresh_layout.setRefreshing(true);
				if (!force_auto_install_switch.isChecked() && !copy_url_mode_switch.isChecked()) {
					com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Refreshing Data List...", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
				}
				Timer = new TimerTask() {
					@Override
					public void run() {
						runOnUiThread(new Runnable() {
							@Override
							public void run() {
								if (CLONED_VERSION.getString("CLONED", "").equals("ON")) {
									list_menu_1.setAdapter(new List_menu_1Adapter(regular));
									list_menu_3.setAdapter(new List_menu_3Adapter(regular_cloned));
									((BaseAdapter)list_menu_1.getAdapter()).notifyDataSetChanged();
									((BaseAdapter)list_menu_3.getAdapter()).notifyDataSetChanged();
								}
								else {
									if (CLONED_VERSION.getString("CLONED", "").equals("OFF")) {
										list_menu_1.setAdapter(new List_menu_1Adapter(regular));
										list_menu_3.setAdapter(new List_menu_3Adapter(regular_cloned));
										((BaseAdapter)list_menu_1.getAdapter()).notifyDataSetChanged();
										((BaseAdapter)list_menu_3.getAdapter()).notifyDataSetChanged();
									}
								}
								main_refresh_layout.setRefreshing(true);
								version_switch_01.setChecked(true);
								version_switch_02.setChecked(false);
								changelogs_switch.setChecked(false);
								main_body.setAlpha((float)(0.50d));
								Timer = new TimerTask() {
									@Override
									public void run() {
										runOnUiThread(new Runnable() {
											@Override
											public void run() {
												if (CLONED_VERSION.getString("CLONED", "").equals("ON")) {
													list_menu_2.setAdapter(new List_menu_2Adapter(amoled));
													list_menu_4.setAdapter(new List_menu_4Adapter(amoled_cloned));
													((BaseAdapter)list_menu_2.getAdapter()).notifyDataSetChanged();
													((BaseAdapter)list_menu_4.getAdapter()).notifyDataSetChanged();
												}
												else {
													if (CLONED_VERSION.getString("CLONED", "").equals("OFF")) {
														list_menu_2.setAdapter(new List_menu_2Adapter(amoled));
														list_menu_4.setAdapter(new List_menu_4Adapter(amoled_cloned));
														((BaseAdapter)list_menu_2.getAdapter()).notifyDataSetChanged();
														((BaseAdapter)list_menu_4.getAdapter()).notifyDataSetChanged();
													}
												}
												main_refresh_layout.setRefreshing(true);
												version_switch_01.setChecked(false);
												version_switch_02.setChecked(true);
												changelogs_switch.setChecked(false);
												main_body.setAlpha((float)(0.50d));
												Timer = new TimerTask() {
													@Override
													public void run() {
														runOnUiThread(new Runnable() {
															@Override
															public void run() {
																main_refresh_layout.setRefreshing(true);
																version_switch_01.setChecked(false);
																version_switch_02.setChecked(false);
																changelogs_switch.setChecked(true);
																list_changelogs.setAdapter(new List_changelogsAdapter(mod_changelogs));
																((BaseAdapter)list_changelogs.getAdapter()).notifyDataSetChanged();
																main_body.setAlpha((float)(0.50d));
																Timer = new TimerTask() {
																	@Override
																	public void run() {
																		runOnUiThread(new Runnable() {
																			@Override
																			public void run() {
																				main_refresh_layout.setRefreshing(false);
																				version_switch_01.setChecked(false);
																				version_switch_02.setChecked(false);
																				changelogs_switch.setChecked(false);
																				main_body.setAlpha((float)(1.00d));
																				String currentDateTimeString = java.text.DateFormat.getDateTimeInstance().format(new Date());
																				
																				com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Data List Updated | " + (currentDateTimeString), com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
																			}
																		});
																	}
																};
																_timer.schedule(Timer, (int)(600));
															}
														});
													}
												};
												_timer.schedule(Timer, (int)(500));
											}
										});
									}
								};
								_timer.schedule(Timer, (int)(500));
							}
						});
					}
				};
				_timer.schedule(Timer, (int)(400));
			}
			catch(Exception e) {
			}
		}
	}
	
	
	public void _Default_Path() {
		if (PATH.equals("")) {
			apk_path_location.setText("/storage/emulated/0/xManager/");
		}
		else {
			APK_PATH.edit().putString("PATH", apk_path_location.getText().toString()).commit();
		}
	}
	
	
	public void _Download_Install(final String _url, final String _path) {
		try {
			FileUtil.makeDir(FileUtil.getPackageDataDir(getApplicationContext()));
			
			android.net.ConnectivityManager connMgr = (android.net.ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
			android.net.NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();
			if (networkInfo != null && networkInfo.isConnected()) {
					final String urlDownload = _url;
					DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
					final String fileName = URLUtil.guessFileName(urlDownload, null, null);
					request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
					request.setMimeType("application/vnd.android.package-archive");
					request.allowScanningByMediaScanner();
					request.setDestinationInExternalFilesDir(this,Environment.DIRECTORY_DOWNLOADS, "Spotify Mod (Official).apk");
					final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
					final long downloadId = manager.enqueue(request);
					final ProgressDialog prog = new ProgressDialog(MainActivity.this, R.style.Progress_Dialog);
					prog.setMax(100);
					prog.setIndeterminate(false);
					prog.setCancelable(false);
					prog.setCanceledOnTouchOutside(false);
					prog.setTitle(downloading_file_0);
					new Thread(new Runnable() {
							@Override
							public void run() {
									boolean downloading = true;
									while (downloading) {
											DownloadManager.Query q = new DownloadManager.Query();
											q.setFilterById(downloadId);
											android.database.Cursor cursor = manager.query(q);
											if (cursor != null) { 
													if (cursor.moveToFirst()) {
															int bytes_downloaded = cursor.getInt(cursor .getColumnIndex(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR));
															int bytes_total = cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_TOTAL_SIZE_BYTES));
															if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_SUCCESSFUL) {
																	downloading = false;
															}
															if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_FAILED) {
																	runOnUiThread(new Runnable() {
																			public void run() { 
																					SketchwareUtil.showMessage(getApplicationContext(), "The file or link is currently unavailable. Please try again later.");
																					_File_Remover();
																			}
																	});
																	try {
																			prog.cancel();
																			break;
																	} catch (Exception e) {
																	}
															}
															final int dl_progress = (int) (bytes_total != 0 ? (bytes_downloaded * 100l) / bytes_total : 0) ;
															final int dl_max = (int) (100);
															final float file_front = (float) ((bytes_downloaded * 1.0) / 1048576.0);
															final float file_end = (float) ((bytes_total * 1.0) / 1048576.0);
															String file_min = String.format("%.2f", file_front);
															String file_fix = String.format("%.2f", file_end);
															String file_max = file_fix.replace("-", "");
															runOnUiThread(new Runnable() {
																	@Override
																	public void run() {
																			if (!MainActivity.this.isFinishing()) {
																					prog.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
																					String Title = "<b>".concat(downloading_file_0.concat("</b>"));
																					String TitleColor = "1DB954";
																					prog.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																					prog.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
																					prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
																					prog.setProgressNumberFormat((file_min) + " MB" + " | " + (file_max) + " MB");
																					prog.setProgress(dl_progress);
																					prog.setMax(dl_max);
																					prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
																							@Override
																							public void onClick(DialogInterface dialog, int which) {
																									manager.remove(downloadId);
																									Timer = new TimerTask() {
																											@Override
																											public void run() {
																													runOnUiThread(new Runnable() {
																															@Override
																															public void run() {
																																	try {
																																			_Hide_Navigation();
																																			_File_Remover();
																																			prog.cancel();
																																	} catch (Exception e) {
																																	}
																															}
																													});
																											}
																									};
																									_timer.schedule(Timer, (int)(0));
																							}
																					});
																					prog.show();
																			}
																			if (bytes_downloaded == bytes_total) {
																					Timer = new TimerTask() {
																							@Override
																							public void run() {
																									runOnUiThread(new Runnable() {
																											@Override
																											public void run() {	
																													try {
																															FileUtil.copyFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk", apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"));
																													}
																													catch(Exception e) {
																													}
																													prog.cancel();
																													Timer = new TimerTask() {
																															@Override
																															public void run() {
																																	runOnUiThread(new Runnable() {
																																			@Override
																																			public void run() {
																																					version_switch_01.setChecked(false);
																																					version_switch_02.setChecked(false);
																																					changelogs_switch.setChecked(false);
																																					if ((Installed_Version < Downloaded_Version) || ((Downloaded_Version > Installed_Version) || ((Installed_Version == Downloaded_Version) || Installed_Checker.equals("false")))) {
																																							if (getISignature(getApplicationContext()).equals(getDSignature(getApplicationContext())) || Installed_Checker.equals("false")) {
																																									StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
																																									if(android.os.Build.VERSION.SDK_INT >= 29){
																																											try {
																																													Intent intent = new Intent(Intent.ACTION_VIEW);
																																													intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
																																													intent.setDataAndType(FileProvider.getUriForFile(MainActivity.this, "com.xc3fff0e.xmanager.provider", new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
																																													startActivity(intent);
																																											}
																																											catch(Exception e) {
																																											}
																																									} else {
																																											try {
																																													Intent intent = new Intent(Intent.ACTION_VIEW);
																																													intent.setDataAndType(Uri.fromFile(new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
																																													startActivity(intent);
																																													Timer = new TimerTask() {
																																															@Override
																																															public void run() {
																																																	runOnUiThread(new Runnable() {
																																																			@Override
																																																			public void run() {
																																																					_Hide_Navigation();
																																																			}
																																																	});
																																															}
																																													};
																																													_timer.schedule(Timer, (int)(100));
																																											}
																																											catch(Exception e) {
																																											}
																																									} 
																																							} else {
																																									if (!MainActivity.this.isFinishing()) {
																																											final AlertDialog.Builder Signature_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
																																											String Title = "<b>".concat(installation_failed_0.concat("</b>"));
																																											String TitleColor = "1DB954";
																																											Signature_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																																											String Message = installation_failed_ream_desc_0.replace("\n", "<br/>");
																																											String MessageColor = "FFFFFF";
																																											Signature_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
																																											Signature_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																																													@Override
																																													public void onClick(DialogInterface Signature_Check, int p) {
																																															_Hide_Navigation();
																																															AlertDialog.setCancelable(true);
																																															try {
																																																	Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.music")); 
																																																	startActivity(intent);
																																															}
																																															catch(Exception e) {
																																															}
																																													}
																																											});
																																											Signature_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																																													@Override
																																													public void onClick(DialogInterface Signature_Check, int p) {
																																															_Hide_Navigation();
																																															AlertDialog.setCancelable(true);
																																													}
																																											});
																																											AlertDialog = Signature_Check.create();
																																											AlertDialog.setCancelable(false);
																																											AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
																																											AlertDialog.show();
																																									}
																																							}	
																																					}
																																					else {
																																							if (Downloaded_Version < Installed_Version) {
																																									if (!MainActivity.this.isFinishing()) {
																																											final AlertDialog.Builder Downgrade_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
																																											String Title = "<b>".concat(installation_failed_0.concat("</b>"));
																																											String TitleColor = "1DB954";
																																											Downgrade_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																																											String Message = installation_failed_desc_0.replace("\n", "<br/>");
																																											String MessageColor = "FFFFFF";
																																											Downgrade_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
																																											Downgrade_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																																													@Override
																																													public void onClick(DialogInterface Downgrade_Check, int p) {
																																															_Hide_Navigation();
																																															AlertDialog.setCancelable(true);
																																															try {
																																																	Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.music")); 
																																																	startActivity(intent);
																																															}
																																															catch(Exception e) {
																																															}
																																													}
																																											});
																																											Downgrade_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																																													@Override
																																													public void onClick(DialogInterface Downgrade_Check, int p) {
																																															_Hide_Navigation();
																																															AlertDialog.setCancelable(true);
																																													}
																																											});
																																											AlertDialog = Downgrade_Check.create();
																																											AlertDialog.setCancelable(false);
																																											AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
																																											AlertDialog.show();
																																									}
																																							}
																																					}
																																			}
																																	});
																															}
																													};
																													_timer.schedule(Timer, (int)(100));
																													Timer = new TimerTask() {
																															@Override
																															public void run() {
																																	runOnUiThread(new Runnable() {
																																			@Override
																																			public void run() {
																																					_Hide_Navigation();
																																			}
																																	});
																															}
																													};
																													_timer.schedule(Timer, (int)(100));
																											}
																									});
																							}
																					};
																					_timer.schedule(Timer, (int)(1500));
																			}
																	} });
													}
													cursor.close();
											}
									} } }).start();
			} else {
					com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Slow or no internet connection. Try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
			}
			
		}
		catch(Exception e) {
		}
	}
	
	
	public void _Download_Update_Install(final String _url, final String _path) {
		try {
			FileUtil.makeDir(FileUtil.getPackageDataDir(getApplicationContext()));
			
			android.net.ConnectivityManager connMgr = (android.net.ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
			android.net.NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();
			if (networkInfo != null && networkInfo.isConnected()) {
					final String urlDownload = _url;
					DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
					final String fileName = URLUtil.guessFileName(urlDownload, null, null);
					request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
					request.setMimeType("application/vnd.android.package-archive");
					request.allowScanningByMediaScanner();
					request.setDestinationInExternalFilesDir(this,Environment.DIRECTORY_DOWNLOADS, "/Update/xManager Update.apk");
					final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
					final long downloadId = manager.enqueue(request);
					final ProgressDialog prog = new ProgressDialog(MainActivity.this, R.style.Progress_Dialog);
					prog.setMax(100);
					prog.setIndeterminate(false);
					prog.setCancelable(false);
					prog.setCanceledOnTouchOutside(false);
					prog.setTitle(downloading_file_0);
					new Thread(new Runnable() {
							@Override
							public void run() {
									boolean downloading = true;
									while (downloading) {
											DownloadManager.Query q = new DownloadManager.Query();
											q.setFilterById(downloadId);
											android.database.Cursor cursor = manager.query(q);
											if (cursor != null) { 
													if (cursor.moveToFirst()) {
															int bytes_downloaded = cursor.getInt(cursor .getColumnIndex(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR));
															int bytes_total = cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_TOTAL_SIZE_BYTES));
															if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_SUCCESSFUL) {
																	downloading = false;
															}
															if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_FAILED) {
																	runOnUiThread(new Runnable() {
																			public void run() { 
																					SketchwareUtil.showMessage(getApplicationContext(), "The file or link is currently unavailable. Please try again later.");
																					_Update_Remover();
																			}
																	});
																	try {
																			prog.cancel();
																			break;
																	} catch (Exception e) {
																	}
															}
															final int dl_progress = (int) (bytes_total != 0 ? (bytes_downloaded * 100l) / bytes_total : 0) ;
															final int dl_max = (int) (100);
															final float file_front = (float) ((bytes_downloaded * 1.0) / 1048576.0);
															final float file_end = (float) ((bytes_total * 1.0) / 1048576.0);
															String file_min = String.format("%.2f", file_front);
															String file_fix = String.format("%.2f", file_end);
															String file_max = file_fix.replace("-", "");
															runOnUiThread(new Runnable() {
																	@Override
																	public void run() {
																			if (!MainActivity.this.isFinishing()) {
																					prog.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
																					String Title = "<b>".concat(downloading_file_0.concat("</b>"));
																					String TitleColor = "1DB954";
																					prog.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																					prog.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
																					prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
																					prog.setProgressNumberFormat((file_min) + " MB" + " | " + (file_max) + " MB");
																					prog.setProgress(dl_progress);
																					prog.setMax(dl_max);
																					prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
																							@Override
																							public void onClick(DialogInterface dialog, int which) {
																									manager.remove(downloadId);
																									Timer = new TimerTask() {
																											@Override
																											public void run() {
																													runOnUiThread(new Runnable() {
																															@Override
																															public void run() {
																																	try {
																																			_Hide_Navigation();
																																			_Update_Remover();
																																			prog.cancel();
																																	} catch (Exception e) {
																																	}
																															}
																													});
																											}
																									};
																									_timer.schedule(Timer, (int)(0));
																							}
																					});
																					prog.show();
																			}
																			if (bytes_downloaded == bytes_total) {
																					Timer = new TimerTask() {
																							@Override
																							public void run() {
																									runOnUiThread(new Runnable() {
																											@Override
																											public void run() {
																													try {
																															FileUtil.copyFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/xManager Update.apk", "/storage/emulated/0/xManager/Update/xManager Update.apk");
																															prog.dismiss();
																													}
																													catch(Exception e) {
																													}
																													prog.cancel();
																													version_switch_01.setChecked(false);
																													version_switch_02.setChecked(false);
																													changelogs_switch.setChecked(false);
																													StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
																													if(android.os.Build.VERSION.SDK_INT >= 29){
																															try {
																																	Intent intent = new Intent(Intent.ACTION_VIEW);
																																	intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
																																	intent.setDataAndType(FileProvider.getUriForFile(MainActivity.this, "com.xc3fff0e.xmanager.provider", new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Update/xManager Update.apk")), "application/vnd.android.package-archive");
																																	startActivity(intent);
																															}
																															catch(Exception e) {
																															}
																													} else {
																															try {
																																	Intent intent = new Intent(Intent.ACTION_VIEW);
																																	intent.setDataAndType(Uri.fromFile(new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Update/xManager Update.apk")), "application/vnd.android.package-archive");
																																	startActivity(intent);
																																	Timer = new TimerTask() {
																																			@Override
																																			public void run() {
																																					runOnUiThread(new Runnable() {
																																							@Override
																																							public void run() {
																																									_Hide_Navigation();
																																							}
																																					});
																																			}
																																	};
																																	_timer.schedule(Timer, (int)(100));
																															}
																															catch(Exception e) {
																															}
																													}
																											}
																									});
																							}
																					};
																					_timer.schedule(Timer, (int)(1500));
																			}
																	} });
													}
													cursor.close();
											}
									} } }).start();
			} else {
					com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Slow or no internet connection. Try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
			}
			
		}
		catch(Exception e) {
		}
	}
	
	
	public void _Url_Mode() {
		if (COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_ON")) {
			copy_url_mode_switch.setChecked(true);
			title_header.setText("xManager (UM)");
		}
		else {
			if (COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_OFF")) {
				copy_url_mode_switch.setChecked(false);
				title_header.setText("xManager");
			}
		}
	}
	
	
	public void _Switches() {
		if (copy_url_mode_switch.isChecked()) {
			COPY_URL_MODE.edit().putString("COPY_URL_MODE", "URL_ON").commit();
		}
		else {
			COPY_URL_MODE.edit().putString("COPY_URL_MODE", "URL_OFF").commit();
		}
		if (force_auto_install_switch.isChecked()) {
			FORCE_INSTALL.edit().putString("FORCE_INSTALL", "X").commit();
			FORCE_INSTALL_UPDATE.edit().putString("FORCE_INSTALL_UPDATE", "XX").commit();
		}
		else {
			FORCE_INSTALL.edit().putString("FORCE_INSTALL", "Y").commit();
			FORCE_INSTALL_UPDATE.edit().putString("FORCE_INSTALL_UPDATE", "YY").commit();
		}
	}
	
	
	public void _Switch_Fixer() {
		if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X") && FORCE_INSTALL_UPDATE.getString("FORCE_INSTALL_UPDATE", "").equals("XX")) {
			force_auto_install_switch.setChecked(true);
		}
		else {
			if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y") && FORCE_INSTALL_UPDATE.getString("FORCE_INSTALL_UPDATE", "").equals("YY")) {
				force_auto_install_switch.setChecked(false);
			}
		}
		if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
			disable_reward_ad_switch.setChecked(true);
		}
		else {
			if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("OFF")) {
				disable_reward_ad_switch.setChecked(false);
			}
		}
	}
	
	
	public void _Language_UI() {
		if (LANGUAGE.getString("LANGUAGE", "").equals("0")) {
			    title_1.setText(R.string.spotify_regular);
				title_2.setText(R.string.spotify_amoled);
				sub_text_installed.setText(R.string.installed);
				sub_text_1.setText(R.string.latest);
				sub_text_3.setText(R.string.latest);
				version_switch_1.setText(R.string.versions);
				version_switch_2.setText(R.string.versions);
				changelogs.setText(R.string.changelogs);
				title_sub.setText(R.string.manager_tools);
				device_cpu.setText(R.string.device_cpu);
				source.setText(R.string.source);
				support.setText(R.string.support);
				donate.setText(R.string.donate);
				about.setText(R.string.about);
				list_auto_refresh.setText(R.string.list_auto_refresh);
				list_auto_refresh_info.setText(R.string.list_auto_refresh_desc);
				force_auto_install.setText(R.string.force_auto_install);
				force_auto_install_info.setText(R.string.force_auto_install_desc);
				copy_url_mode.setText(R.string.copy_url_mode);
				copy_file_url_mode_info.setText(R.string.copy_url_mode_desc);
				navigation_bar.setText(R.string.hide_navigation_bar);
				theme.setText(R.string.show_themes);
				apk_location.setText(R.string.apk_location);
				apk_location_info.setText(R.string.apk_location_desc);
				clear_directory_folders.setText(R.string.clear_directory_folders);
				clear_directory_folders_info.setText(R.string.clear_directory_folders_desc);
				reset_settings.setText(R.string.reset_settings);
				sub_title.setText(R.string.about_sub);
				developer_manager.setText(R.string.xmanager_dev);
				developer_spotify.setText(R.string.spotify_mod_devs);
				support_team.setText(R.string.telegram_support_team);
				mod_testers_1.setText(R.string.manager_testers);
				mod_testers_2.setText(R.string.manager_hosting);
				mobilism_team.setText(R.string.mobilism_team);
				forum_team.setText(R.string.forum_team);
				manager_team.setText(R.string.xspotify_team);
				contributors_1.setText(R.string.contributors);
				download_selected.setText(R.string.download_selected);
				download_ready.setText(R.string.download_ready);
				download_ready_desc.setText(R.string.download_ready_desc);
				downloading_file.setText(R.string.downloading_file);
				download_success.setText(R.string.download_success);
				copy_url_desc.setText(R.string.copy_url_desc);
				new_update.setText(R.string.new_update);
				download_selected_0 = download_selected.getText().toString();
				download_ready_0 = download_ready.getText().toString();
				download_ready_desc_0 = download_ready_desc.getText().toString();
				downloading_file_0 = downloading_file.getText().toString();
				download_success_0 = download_success.getText().toString();
				copy_url_desc_0 = copy_url_desc.getText().toString();
				copy_url.setText(R.string.copy_url);
				continue_1.setText(R.string.continue_1);
				cancel.setText(R.string.cancel);
				download.setText(R.string.download);
				later.setText(R.string.later);
				install_now.setText(R.string.install_now);
				install_update.setText(R.string.install_update);
				go_back.setText(R.string.go_back_01);
				download_update.setText(R.string.download_update);
				not_now.setText(R.string.not_now);
				show_support.setText(R.string.show_support);
				show_support_desc.setText(R.string.show_support_desc);
				copy_url_0 = copy_url.getText().toString();
				download_0 = download.getText().toString();
				continue_0 = continue_1.getText().toString();
				cancel_0 = cancel.getText().toString();
				later_0 = later.getText().toString();
				install_now_0 = install_now.getText().toString();
				go_back_0 = go_back.getText().toString();
				install_update_0 = install_update.getText().toString();
				main_title.setText(R.string.main_title);
				settings_title.setText(R.string.settings_title);
				about_title.setText(R.string.about_title);
				maintenance.setText(R.string.maintenance);
				maintenance_desc.setText(R.string.maintenance_desc);
				thanks.setText(R.string.thanks);
				language.setText(R.string.language);
				website.setText(R.string.website);
				discord.setText(R.string.discord);
				reddit.setText(R.string.reddit);
				faq.setText(R.string.faq);
				cloned_version.setText(R.string.cloned_version);
				cloned_version_info.setText(R.string.cloned_version_desc);
			    disable_reward_ad.setText(R.string.disable_rewarded_ads);
			    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc);
			    installation_failed.setText(R.string.installation_failed);
			    installation_failed_desc.setText(R.string.installation_failed_desc);
			    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc);
			    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc);
			    existing_patched.setText(R.string.existing_patched);
			    existing_patched_desc.setText(R.string.existing_patched_desc);
			    close.setText(R.string.close);
			    cloned.setText(R.string.cloned);
			    ream.setText(R.string.ream);
			    install.setText(R.string.install);
			    uninstall.setText(R.string.uninstall);
			    ignore.setText(R.string.ignore);
			    delete.setText(R.string.delete);
			    uninstall_patched.setText(R.string.uninstall_patched);
			    open_settings.setText(R.string.open_settings);
			    open_patched.setText(R.string.open_patched);
				installation_failed_0 = installation_failed.getText().toString();
			    installation_failed_desc_0 = installation_failed_desc.getText().toString();
			    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
			    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
			    existing_patched_0 = existing_patched.getText().toString();
			    existing_patched_desc_0 = existing_patched_desc.getText().toString();
			    close_0 = close.getText().toString();
			    uninstall_0 = uninstall.getText().toString();

			select_language.setSelection((int)(0));
		}
		else {
			if (LANGUAGE.getString("LANGUAGE", "").equals("1")) {
				    title_1.setText(R.string.spotify_regular_01);
					title_2.setText(R.string.spotify_amoled_01);
					sub_text_installed.setText(R.string.installed_01);
					sub_text_1.setText(R.string.latest_01);
					sub_text_3.setText(R.string.latest_01);
					version_switch_1.setText(R.string.versions_01);
					version_switch_2.setText(R.string.versions_01);
					changelogs.setText(R.string.changelogs_01);
					title_sub.setText(R.string.manager_tools_01);
					device_cpu.setText(R.string.device_cpu_01);
					source.setText(R.string.source_01);
					support.setText(R.string.support_01);
					donate.setText(R.string.donate_01);
					about.setText(R.string.about_01);
					list_auto_refresh.setText(R.string.list_auto_refresh_01);
					list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_01);
					force_auto_install.setText(R.string.force_auto_install_01);
					force_auto_install_info.setText(R.string.force_auto_install_desc_01);
					copy_url_mode.setText(R.string.copy_url_mode_01);
					copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_01);
					navigation_bar.setText(R.string.hide_navigation_bar_01);
					theme.setText(R.string.show_themes_01);
					apk_location.setText(R.string.apk_location_01);
					apk_location_info.setText(R.string.apk_location_desc_01);
					clear_directory_folders.setText(R.string.clear_directory_folders_01);
					clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_01);
					reset_settings.setText(R.string.reset_settings_01);
					sub_title.setText(R.string.about_sub_01);
					developer_manager.setText(R.string.xmanager_dev_01);
					developer_spotify.setText(R.string.spotify_mod_devs_01);
					support_team.setText(R.string.telegram_support_team_01);
					mod_testers_1.setText(R.string.manager_testers_01);
					mod_testers_2.setText(R.string.manager_hosting_01);
					mobilism_team.setText(R.string.mobilism_team_01);
					forum_team.setText(R.string.forum_team_01);
					manager_team.setText(R.string.xspotify_team_01);
					contributors_1.setText(R.string.contributors_01);
					download_selected.setText(R.string.download_selected_01);
					download_ready.setText(R.string.download_ready_01);
					download_ready_desc.setText(R.string.download_ready_desc_01);
					downloading_file.setText(R.string.downloading_file_01);
					download_success.setText(R.string.download_success_01);
					copy_url_desc.setText(R.string.copy_url_desc_01);
					new_update.setText(R.string.new_update_01);
					download_selected_0 = download_selected.getText().toString();
					download_ready_0 = download_ready.getText().toString();
					download_ready_desc_0 = download_ready_desc.getText().toString();
					downloading_file_0 = downloading_file.getText().toString();
					download_success_0 = download_success.getText().toString();
					copy_url_desc_0 = copy_url_desc.getText().toString();
					copy_url.setText(R.string.copy_url_01);
					continue_1.setText(R.string.continue_1_01);
					cancel.setText(R.string.cancel_01);
					download.setText(R.string.download_01);
					later.setText(R.string.later_01);
					install_now.setText(R.string.install_now_01);
					install_update.setText(R.string.install_update_01);
					go_back.setText(R.string.go_back_01);
					download_update.setText(R.string.download_update_01);
					not_now.setText(R.string.not_now_01);
					show_support.setText(R.string.show_support_01);
					show_support_desc.setText(R.string.show_support_desc_01);
					copy_url_0 = copy_url.getText().toString();
					download_0 = download.getText().toString();
					continue_0 = continue_1.getText().toString();
					cancel_0 = cancel.getText().toString();
					later_0 = later.getText().toString();
					install_now_0 = install_now.getText().toString();
					go_back_0 = go_back.getText().toString();
					install_update_0 = install_update.getText().toString();
					main_title.setText(R.string.main_title_01);
					settings_title.setText(R.string.settings_title_01);
					about_title.setText(R.string.about_title_01);
					maintenance.setText(R.string.maintenance_01);
					maintenance_desc.setText(R.string.maintenance_desc_01);
					thanks.setText(R.string.thanks_01);
					language.setText(R.string.language_01);
					website.setText(R.string.website_01);
					discord.setText(R.string.discord_01);
					reddit.setText(R.string.reddit_01);
					faq.setText(R.string.faq_01);
					cloned_version.setText(R.string.cloned_version_01);
					cloned_version_info.setText(R.string.cloned_version_desc_01);
				    disable_reward_ad.setText(R.string.disable_rewarded_ads_01);
				    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_01);
				    installation_failed.setText(R.string.installation_failed_01);
				    installation_failed_desc.setText(R.string.installation_failed_desc_01);
				    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_01);
				    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_01);
				    existing_patched.setText(R.string.existing_patched_01);
				    existing_patched_desc.setText(R.string.existing_patched_desc_01);
				    close.setText(R.string.close_01);
				    cloned.setText(R.string.cloned_01);
				    ream.setText(R.string.ream_01);
				    install.setText(R.string.install_01);
				    uninstall.setText(R.string.uninstall_01);
				    ignore.setText(R.string.ignore_01);
				    delete.setText(R.string.delete_01);
				    uninstall_patched.setText(R.string.uninstall_patched_01);
				    open_settings.setText(R.string.open_settings_01);
				    open_patched.setText(R.string.open_patched_01);
					installation_failed_0 = installation_failed.getText().toString();
				    installation_failed_desc_0 = installation_failed_desc.getText().toString();
				    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
				    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
				    existing_patched_0 = existing_patched.getText().toString();
				    existing_patched_desc_0 = existing_patched_desc.getText().toString();
				    close_0 = close.getText().toString();
				    uninstall_0 = uninstall.getText().toString();

				select_language.setSelection((int)(1));
			}
			else {
				if (LANGUAGE.getString("LANGUAGE", "").equals("2")) {
					    title_1.setText(R.string.spotify_regular_02);
						title_2.setText(R.string.spotify_amoled_02);
						sub_text_installed.setText(R.string.installed_02);
						sub_text_1.setText(R.string.latest_02);
						sub_text_3.setText(R.string.latest_02);
						version_switch_1.setText(R.string.versions_02);
						version_switch_2.setText(R.string.versions_02);
						changelogs.setText(R.string.changelogs_02);
						title_sub.setText(R.string.manager_tools_02);
						device_cpu.setText(R.string.device_cpu_02);
						source.setText(R.string.source_02);
						support.setText(R.string.support_02);
						donate.setText(R.string.donate_02);
						about.setText(R.string.about_02);
						list_auto_refresh.setText(R.string.list_auto_refresh_02);
						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_02);
						force_auto_install.setText(R.string.force_auto_install_02);
						force_auto_install_info.setText(R.string.force_auto_install_desc_02);
						copy_url_mode.setText(R.string.copy_url_mode_02);
						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_02);
						navigation_bar.setText(R.string.hide_navigation_bar_02);
						theme.setText(R.string.show_themes_02);
						apk_location.setText(R.string.apk_location_02);
						apk_location_info.setText(R.string.apk_location_desc_02);
						clear_directory_folders.setText(R.string.clear_directory_folders_02);
						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_02);
						reset_settings.setText(R.string.reset_settings_02);
						sub_title.setText(R.string.about_sub_02);
						developer_manager.setText(R.string.xmanager_dev_02);
						developer_spotify.setText(R.string.spotify_mod_devs_02);
						support_team.setText(R.string.telegram_support_team_02);
						mod_testers_1.setText(R.string.manager_testers_02);
						mod_testers_2.setText(R.string.manager_hosting_02);
						mobilism_team.setText(R.string.mobilism_team_02);
						forum_team.setText(R.string.forum_team_02);
						manager_team.setText(R.string.xspotify_team_02);
						contributors_1.setText(R.string.contributors_02);
						download_selected.setText(R.string.download_selected_02);
						download_ready.setText(R.string.download_ready_02);
						download_ready_desc.setText(R.string.download_ready_desc_02);
						downloading_file.setText(R.string.downloading_file_02);
						download_success.setText(R.string.download_success_02);
						copy_url_desc.setText(R.string.copy_url_desc_02);
						new_update.setText(R.string.new_update_02);
						download_selected_0 = download_selected.getText().toString();
						download_ready_0 = download_ready.getText().toString();
						download_ready_desc_0 = download_ready_desc.getText().toString();
						downloading_file_0 = downloading_file.getText().toString();
						download_success_0 = download_success.getText().toString();
						copy_url_desc_0 = copy_url_desc.getText().toString();
						copy_url.setText(R.string.copy_url_02);
						continue_1.setText(R.string.continue_1_02);
						cancel.setText(R.string.cancel_02);
						download.setText(R.string.download_02);
						later.setText(R.string.later_02);
						install_now.setText(R.string.install_now_02);
						install_update.setText(R.string.install_update_02);
						go_back.setText(R.string.go_back_02);
						download_update.setText(R.string.download_update_02);
						not_now.setText(R.string.not_now_02);
						show_support.setText(R.string.show_support_02);
						show_support_desc.setText(R.string.show_support_desc_02);
						copy_url_0 = copy_url.getText().toString();
						download_0 = download.getText().toString();
						continue_0 = continue_1.getText().toString();
						cancel_0 = cancel.getText().toString();
						later_0 = later.getText().toString();
						install_now_0 = install_now.getText().toString();
						go_back_0 = go_back.getText().toString();
						install_update_0 = install_update.getText().toString();
						main_title.setText(R.string.main_title_02);
						settings_title.setText(R.string.settings_title_02);
						about_title.setText(R.string.about_title_02);
						maintenance.setText(R.string.maintenance_02);
						maintenance_desc.setText(R.string.maintenance_desc_02);
						thanks.setText(R.string.thanks_02);
						language.setText(R.string.language_02);
						website.setText(R.string.website_02);
						discord.setText(R.string.discord_02);
						reddit.setText(R.string.reddit_02);
						faq.setText(R.string.faq_02);
						cloned_version.setText(R.string.cloned_version_02);
						cloned_version_info.setText(R.string.cloned_version_desc_02);
					    disable_reward_ad.setText(R.string.disable_rewarded_ads_02);
					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_02);
					    installation_failed.setText(R.string.installation_failed_02);
					    installation_failed_desc.setText(R.string.installation_failed_desc_02);
					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_02);
					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_02);
					    existing_patched.setText(R.string.existing_patched_02);
					    existing_patched_desc.setText(R.string.existing_patched_desc_02);
					    close.setText(R.string.close_02);
					    cloned.setText(R.string.cloned_02);
					    ream.setText(R.string.ream_02);
					    install.setText(R.string.install_02);
					    uninstall.setText(R.string.uninstall_02);
					    ignore.setText(R.string.ignore_02);
					    delete.setText(R.string.delete_02);
					    uninstall_patched.setText(R.string.uninstall_patched_02);
					    open_settings.setText(R.string.open_settings_02);
					    open_patched.setText(R.string.open_patched_02);
						installation_failed_0 = installation_failed.getText().toString();
					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
					    existing_patched_0 = existing_patched.getText().toString();
					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
					    close_0 = close.getText().toString();
					    uninstall_0 = uninstall.getText().toString();
					
					select_language.setSelection((int)(2));
				}
				else {
					if (LANGUAGE.getString("LANGUAGE", "").equals("3")) {
						    title_1.setText(R.string.spotify_regular_03);
							title_2.setText(R.string.spotify_amoled_03);
							sub_text_installed.setText(R.string.installed_03);
							sub_text_1.setText(R.string.latest_03);
							sub_text_3.setText(R.string.latest_03);
							version_switch_1.setText(R.string.versions_03);
							version_switch_2.setText(R.string.versions_03);
							changelogs.setText(R.string.changelogs_03);
							title_sub.setText(R.string.manager_tools_03);
							device_cpu.setText(R.string.device_cpu_03);
							source.setText(R.string.source_03);
							support.setText(R.string.support_03);
							donate.setText(R.string.donate_03);
							about.setText(R.string.about_03);
							list_auto_refresh.setText(R.string.list_auto_refresh_03);
							list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_03);
							force_auto_install.setText(R.string.force_auto_install_03);
							force_auto_install_info.setText(R.string.force_auto_install_desc_03);
							copy_url_mode.setText(R.string.copy_url_mode_03);
							copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_03);
							navigation_bar.setText(R.string.hide_navigation_bar_03);
							theme.setText(R.string.show_themes_03);
							apk_location.setText(R.string.apk_location_03);
							apk_location_info.setText(R.string.apk_location_desc_03);
							clear_directory_folders.setText(R.string.clear_directory_folders_03);
							clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_03);
							reset_settings.setText(R.string.reset_settings_03);
							sub_title.setText(R.string.about_sub_03);
							developer_manager.setText(R.string.xmanager_dev_03);
							developer_spotify.setText(R.string.spotify_mod_devs_03);
							support_team.setText(R.string.telegram_support_team_03);
							mod_testers_1.setText(R.string.manager_testers_03);
							mod_testers_2.setText(R.string.manager_hosting_03);
							mobilism_team.setText(R.string.mobilism_team_03);
							forum_team.setText(R.string.forum_team_03);
							manager_team.setText(R.string.xspotify_team_03);
							contributors_1.setText(R.string.contributors_03);
							download_selected.setText(R.string.download_selected_03);
							download_ready.setText(R.string.download_ready_03);
							download_ready_desc.setText(R.string.download_ready_desc_03);
							downloading_file.setText(R.string.downloading_file_03);
							download_success.setText(R.string.download_success_03);
							copy_url_desc.setText(R.string.copy_url_desc_03);
							new_update.setText(R.string.new_update_03);
							download_selected_0 = download_selected.getText().toString();
							download_ready_0 = download_ready.getText().toString();
							download_ready_desc_0 = download_ready_desc.getText().toString();
							downloading_file_0 = downloading_file.getText().toString();
							download_success_0 = download_success.getText().toString();
							copy_url_desc_0 = copy_url_desc.getText().toString();
							copy_url.setText(R.string.copy_url_03);
							continue_1.setText(R.string.continue_1_03);
							cancel.setText(R.string.cancel_03);
							download.setText(R.string.download_03);
							later.setText(R.string.later_03);
							install_now.setText(R.string.install_now_03);
							install_update.setText(R.string.install_update_03);
							go_back.setText(R.string.go_back_03);
							download_update.setText(R.string.download_update_03);
							not_now.setText(R.string.not_now_03);
							show_support.setText(R.string.show_support_03);
							show_support_desc.setText(R.string.show_support_desc_03);
							copy_url_0 = copy_url.getText().toString();
							download_0 = download.getText().toString();
							continue_0 = continue_1.getText().toString();
							cancel_0 = cancel.getText().toString();
							later_0 = later.getText().toString();
							install_now_0 = install_now.getText().toString();
							go_back_0 = go_back.getText().toString();
							install_update_0 = install_update.getText().toString();
							main_title.setText(R.string.main_title_03);
							settings_title.setText(R.string.settings_title_03);
							about_title.setText(R.string.about_title_03);
							maintenance.setText(R.string.maintenance_03);
							maintenance_desc.setText(R.string.maintenance_desc_03);
							thanks.setText(R.string.thanks_03);
							language.setText(R.string.language_03);
							website.setText(R.string.website_03);
							discord.setText(R.string.discord_03);
							reddit.setText(R.string.reddit_03);
							faq.setText(R.string.faq_03);
							cloned_version.setText(R.string.cloned_version_03);
							cloned_version_info.setText(R.string.cloned_version_desc_03);
						    disable_reward_ad.setText(R.string.disable_rewarded_ads_03);
						    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_03);
						    installation_failed.setText(R.string.installation_failed_03);
						    installation_failed_desc.setText(R.string.installation_failed_desc_03);
						    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_03);
						    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_03);
						    existing_patched.setText(R.string.existing_patched_03);
						    existing_patched_desc.setText(R.string.existing_patched_desc_03);
						    close.setText(R.string.close_03);
						    cloned.setText(R.string.cloned_03);
						    ream.setText(R.string.ream_03);
						    install.setText(R.string.install_03);
						    uninstall.setText(R.string.uninstall_03);
						    ignore.setText(R.string.ignore_03);
						    delete.setText(R.string.delete_03);
						    uninstall_patched.setText(R.string.uninstall_patched_03);
						    open_settings.setText(R.string.open_settings_03);
						    open_patched.setText(R.string.open_patched_03);
							installation_failed_0 = installation_failed.getText().toString();
						    installation_failed_desc_0 = installation_failed_desc.getText().toString();
						    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
						    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
						    existing_patched_0 = existing_patched.getText().toString();
						    existing_patched_desc_0 = existing_patched_desc.getText().toString();
						    close_0 = close.getText().toString();
						    uninstall_0 = uninstall.getText().toString();
						
						select_language.setSelection((int)(3));
					}
					else {
						if (LANGUAGE.getString("LANGUAGE", "").equals("4")) {
							    title_1.setText(R.string.spotify_regular_04);
								title_2.setText(R.string.spotify_amoled_04);
								sub_text_installed.setText(R.string.installed_04);
								sub_text_1.setText(R.string.latest_04);
								sub_text_3.setText(R.string.latest_04);
								version_switch_1.setText(R.string.versions_04);
								version_switch_2.setText(R.string.versions_04);
								changelogs.setText(R.string.changelogs_04);
								title_sub.setText(R.string.manager_tools_04);
								device_cpu.setText(R.string.device_cpu_04);
								source.setText(R.string.source_04);
								support.setText(R.string.support_04);
								donate.setText(R.string.donate_04);
								about.setText(R.string.about_04);
								list_auto_refresh.setText(R.string.list_auto_refresh_04);
								list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_04);
								force_auto_install.setText(R.string.force_auto_install_04);
								force_auto_install_info.setText(R.string.force_auto_install_desc_04);
								copy_url_mode.setText(R.string.copy_url_mode_04);
								copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_04);
								navigation_bar.setText(R.string.hide_navigation_bar_04);
								theme.setText(R.string.show_themes_04);
								apk_location.setText(R.string.apk_location_04);
								apk_location_info.setText(R.string.apk_location_desc_04);
								clear_directory_folders.setText(R.string.clear_directory_folders_04);
								clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_04);
								reset_settings.setText(R.string.reset_settings_04);
								sub_title.setText(R.string.about_sub_04);
								developer_manager.setText(R.string.xmanager_dev_04);
								developer_spotify.setText(R.string.spotify_mod_devs_04);
								support_team.setText(R.string.telegram_support_team_04);
								mod_testers_1.setText(R.string.manager_testers_04);
								mod_testers_2.setText(R.string.manager_hosting_04);
								mobilism_team.setText(R.string.mobilism_team_04);
								forum_team.setText(R.string.forum_team_04);
								manager_team.setText(R.string.xspotify_team_04);
								contributors_1.setText(R.string.contributors_04);
								download_selected.setText(R.string.download_selected_04);
								download_ready.setText(R.string.download_ready_04);
								download_ready_desc.setText(R.string.download_ready_desc_04);
								downloading_file.setText(R.string.downloading_file_04);
								download_success.setText(R.string.download_success_04);
								copy_url_desc.setText(R.string.copy_url_desc_04);
								new_update.setText(R.string.new_update_04);
								download_selected_0 = download_selected.getText().toString();
								download_ready_0 = download_ready.getText().toString();
								download_ready_desc_0 = download_ready_desc.getText().toString();
								downloading_file_0 = downloading_file.getText().toString();
								download_success_0 = download_success.getText().toString();
								copy_url_desc_0 = copy_url_desc.getText().toString();
								copy_url.setText(R.string.copy_url_04);
								continue_1.setText(R.string.continue_1_04);
								cancel.setText(R.string.cancel_04);
								download.setText(R.string.download_04);
								later.setText(R.string.later_04);
								install_now.setText(R.string.install_now_04);
								install_update.setText(R.string.install_update_04);
								go_back.setText(R.string.go_back_04);
								download_update.setText(R.string.download_update_04);
								not_now.setText(R.string.not_now_04);
								show_support.setText(R.string.show_support_04);
								show_support_desc.setText(R.string.show_support_desc_04);
								copy_url_0 = copy_url.getText().toString();
								download_0 = download.getText().toString();
								continue_0 = continue_1.getText().toString();
								cancel_0 = cancel.getText().toString();
								later_0 = later.getText().toString();
								install_now_0 = install_now.getText().toString();
								go_back_0 = go_back.getText().toString();
								install_update_0 = install_update.getText().toString();
								main_title.setText(R.string.main_title_04);
								settings_title.setText(R.string.settings_title_04);
								about_title.setText(R.string.about_title_04);
								maintenance.setText(R.string.maintenance_04);
								maintenance_desc.setText(R.string.maintenance_desc_04);
								thanks.setText(R.string.thanks_04);
								language.setText(R.string.language_04);
								website.setText(R.string.website_04);
								discord.setText(R.string.discord_04);
								reddit.setText(R.string.reddit_04);
								faq.setText(R.string.faq_04);
								cloned_version.setText(R.string.cloned_version_04);
								cloned_version_info.setText(R.string.cloned_version_desc_04);
							    disable_reward_ad.setText(R.string.disable_rewarded_ads_04);
							    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_04);
							    installation_failed.setText(R.string.installation_failed_04);
							    installation_failed_desc.setText(R.string.installation_failed_desc_04);
							    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_04);
							    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_04);
							    existing_patched.setText(R.string.existing_patched_04);
							    existing_patched_desc.setText(R.string.existing_patched_desc_04);
							    close.setText(R.string.close_04);
							    cloned.setText(R.string.cloned_04);
							    ream.setText(R.string.ream_04);
							    install.setText(R.string.install_04);
							    uninstall.setText(R.string.uninstall_04);
							    ignore.setText(R.string.ignore_04);
							    delete.setText(R.string.delete_04);
							    uninstall_patched.setText(R.string.uninstall_patched_04);
							    open_settings.setText(R.string.open_settings_04);
							    open_patched.setText(R.string.open_patched_04);
								installation_failed_0 = installation_failed.getText().toString();
							    installation_failed_desc_0 = installation_failed_desc.getText().toString();
							    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
							    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
							    existing_patched_0 = existing_patched.getText().toString();
							    existing_patched_desc_0 = existing_patched_desc.getText().toString();
							    close_0 = close.getText().toString();
							    uninstall_0 = uninstall.getText().toString();
							
							select_language.setSelection((int)(4));
						}
						else {
							if (LANGUAGE.getString("LANGUAGE", "").equals("5")) {
								    title_1.setText(R.string.spotify_regular_05);
									title_2.setText(R.string.spotify_amoled_05);
									sub_text_installed.setText(R.string.installed_05);
									sub_text_1.setText(R.string.latest_05);
									sub_text_3.setText(R.string.latest_05);
									version_switch_1.setText(R.string.versions_05);
									version_switch_2.setText(R.string.versions_05);
									changelogs.setText(R.string.changelogs_05);
									title_sub.setText(R.string.manager_tools_05);
									device_cpu.setText(R.string.device_cpu_05);
									source.setText(R.string.source_05);
									support.setText(R.string.support_05);
									donate.setText(R.string.donate_05);
									about.setText(R.string.about_05);
									list_auto_refresh.setText(R.string.list_auto_refresh_05);
									list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_05);
									force_auto_install.setText(R.string.force_auto_install_05);
									force_auto_install_info.setText(R.string.force_auto_install_desc_05);
									copy_url_mode.setText(R.string.copy_url_mode_05);
									copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_05);
									navigation_bar.setText(R.string.hide_navigation_bar_05);
									theme.setText(R.string.show_themes_05);
									apk_location.setText(R.string.apk_location_05);
									apk_location_info.setText(R.string.apk_location_desc_05);
									clear_directory_folders.setText(R.string.clear_directory_folders_05);
									clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_05);
									reset_settings.setText(R.string.reset_settings_05);
									sub_title.setText(R.string.about_sub_05);
									developer_manager.setText(R.string.xmanager_dev_05);
									developer_spotify.setText(R.string.spotify_mod_devs_05);
									support_team.setText(R.string.telegram_support_team_05);
									mod_testers_1.setText(R.string.manager_testers_05);
									mod_testers_2.setText(R.string.manager_hosting_05);
									mobilism_team.setText(R.string.mobilism_team_05);
									forum_team.setText(R.string.forum_team_05);
									manager_team.setText(R.string.xspotify_team_05);
									contributors_1.setText(R.string.contributors_05);
									download_selected.setText(R.string.download_selected_05);
									download_ready.setText(R.string.download_ready_05);
									download_ready_desc.setText(R.string.download_ready_desc_05);
									downloading_file.setText(R.string.downloading_file_05);
									download_success.setText(R.string.download_success_05);
									copy_url_desc.setText(R.string.copy_url_desc_05);
									new_update.setText(R.string.new_update_05);
									download_selected_0 = download_selected.getText().toString();
									download_ready_0 = download_ready.getText().toString();
									download_ready_desc_0 = download_ready_desc.getText().toString();
									downloading_file_0 = downloading_file.getText().toString();
									download_success_0 = download_success.getText().toString();
									copy_url_desc_0 = copy_url_desc.getText().toString();
									copy_url.setText(R.string.copy_url_05);
									continue_1.setText(R.string.continue_1_05);
									cancel.setText(R.string.cancel_05);
									download.setText(R.string.download_05);
									later.setText(R.string.later_05);
									install_now.setText(R.string.install_now_05);
									install_update.setText(R.string.install_update_05);
									go_back.setText(R.string.go_back_05);
									download_update.setText(R.string.download_update_05);
									not_now.setText(R.string.not_now_05);
									show_support.setText(R.string.show_support_05);
									show_support_desc.setText(R.string.show_support_desc_05);
									copy_url_0 = copy_url.getText().toString();
									download_0 = download.getText().toString();
									continue_0 = continue_1.getText().toString();
									cancel_0 = cancel.getText().toString();
									later_0 = later.getText().toString();
									install_now_0 = install_now.getText().toString();
									go_back_0 = go_back.getText().toString();
									install_update_0 = install_update.getText().toString();
									main_title.setText(R.string.main_title_05);
									settings_title.setText(R.string.settings_title_05);
									about_title.setText(R.string.about_title_05);
									maintenance.setText(R.string.maintenance_05);
									maintenance_desc.setText(R.string.maintenance_desc_05);
									thanks.setText(R.string.thanks_05);
									language.setText(R.string.language_05);
									website.setText(R.string.website_05);
									discord.setText(R.string.discord_05);
									reddit.setText(R.string.reddit_05);
									faq.setText(R.string.faq_05);
									cloned_version.setText(R.string.cloned_version_05);
									cloned_version_info.setText(R.string.cloned_version_desc_05);
								    disable_reward_ad.setText(R.string.disable_rewarded_ads_05);
								    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_05);
								    installation_failed.setText(R.string.installation_failed_05);
								    installation_failed_desc.setText(R.string.installation_failed_desc_05);
								    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_05);
								    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_05);
								    existing_patched.setText(R.string.existing_patched_05);
								    existing_patched_desc.setText(R.string.existing_patched_desc_05);
								    close.setText(R.string.close_05);
								    cloned.setText(R.string.cloned_05);
								    ream.setText(R.string.ream_05);
								    install.setText(R.string.install_05);
								    uninstall.setText(R.string.uninstall_05);
								    ignore.setText(R.string.ignore_05);
								    delete.setText(R.string.delete_05);
								    uninstall_patched.setText(R.string.uninstall_patched_05);
								    open_settings.setText(R.string.open_settings_05);
								    open_patched.setText(R.string.open_patched_05);
									installation_failed_0 = installation_failed.getText().toString();
								    installation_failed_desc_0 = installation_failed_desc.getText().toString();
								    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
								    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
								    existing_patched_0 = existing_patched.getText().toString();
								    existing_patched_desc_0 = existing_patched_desc.getText().toString();
								    close_0 = close.getText().toString();
								    uninstall_0 = uninstall.getText().toString();
								
								select_language.setSelection((int)(5));
							}
							else {
								if (LANGUAGE.getString("LANGUAGE", "").equals("6")) {
									    title_1.setText(R.string.spotify_regular_06);
										title_2.setText(R.string.spotify_amoled_06);
										sub_text_installed.setText(R.string.installed_06);
										sub_text_1.setText(R.string.latest_06);
										sub_text_3.setText(R.string.latest_06);
										version_switch_1.setText(R.string.versions_06);
										version_switch_2.setText(R.string.versions_06);
										changelogs.setText(R.string.changelogs_06);
										title_sub.setText(R.string.manager_tools_06);
										device_cpu.setText(R.string.device_cpu_06);
										source.setText(R.string.source_06);
										support.setText(R.string.support_06);
										donate.setText(R.string.donate_06);
										about.setText(R.string.about_06);
										list_auto_refresh.setText(R.string.list_auto_refresh_06);
										list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_06);
										force_auto_install.setText(R.string.force_auto_install_06);
										force_auto_install_info.setText(R.string.force_auto_install_desc_06);
										copy_url_mode.setText(R.string.copy_url_mode_06);
										copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_06);
										navigation_bar.setText(R.string.hide_navigation_bar_06);
										theme.setText(R.string.show_themes_06);
										apk_location.setText(R.string.apk_location_06);
										apk_location_info.setText(R.string.apk_location_desc_06);
										clear_directory_folders.setText(R.string.clear_directory_folders_06);
										clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_06);
										reset_settings.setText(R.string.reset_settings_06);
										sub_title.setText(R.string.about_sub_06);
										developer_manager.setText(R.string.xmanager_dev_06);
										developer_spotify.setText(R.string.spotify_mod_devs_06);
										support_team.setText(R.string.telegram_support_team_06);
										mod_testers_1.setText(R.string.manager_testers_06);
										mod_testers_2.setText(R.string.manager_hosting_06);
										mobilism_team.setText(R.string.mobilism_team_06);
										forum_team.setText(R.string.forum_team_06);
										manager_team.setText(R.string.xspotify_team_06);
										contributors_1.setText(R.string.contributors_06);
										download_selected.setText(R.string.download_selected_06);
										download_ready.setText(R.string.download_ready_06);
										download_ready_desc.setText(R.string.download_ready_desc_06);
										downloading_file.setText(R.string.downloading_file_06);
										download_success.setText(R.string.download_success_06);
										copy_url_desc.setText(R.string.copy_url_desc_06);
										new_update.setText(R.string.new_update_06);
										download_selected_0 = download_selected.getText().toString();
										download_ready_0 = download_ready.getText().toString();
										download_ready_desc_0 = download_ready_desc.getText().toString();
										downloading_file_0 = downloading_file.getText().toString();
										download_success_0 = download_success.getText().toString();
										copy_url_desc_0 = copy_url_desc.getText().toString();
										copy_url.setText(R.string.copy_url_06);
										continue_1.setText(R.string.continue_1_06);
										cancel.setText(R.string.cancel_06);
										download.setText(R.string.download_06);
										later.setText(R.string.later_06);
										install_now.setText(R.string.install_now_06);
										install_update.setText(R.string.install_update_06);
										go_back.setText(R.string.go_back_06);
										download_update.setText(R.string.download_update_06);
										not_now.setText(R.string.not_now_06);
										show_support.setText(R.string.show_support_06);
										show_support_desc.setText(R.string.show_support_desc_06);
										copy_url_0 = copy_url.getText().toString();
										download_0 = download.getText().toString();
										continue_0 = continue_1.getText().toString();
										cancel_0 = cancel.getText().toString();
										later_0 = later.getText().toString();
										install_now_0 = install_now.getText().toString();
										go_back_0 = go_back.getText().toString();
										install_update_0 = install_update.getText().toString();
										main_title.setText(R.string.main_title_06);
										settings_title.setText(R.string.settings_title_06);
										about_title.setText(R.string.about_title_06);
										maintenance.setText(R.string.maintenance_06);
										maintenance_desc.setText(R.string.maintenance_desc_06);
										thanks.setText(R.string.thanks_06);
										language.setText(R.string.language_06);
										website.setText(R.string.website_06);
										discord.setText(R.string.discord_06);
										reddit.setText(R.string.reddit_06);
										faq.setText(R.string.faq_06);
										cloned_version.setText(R.string.cloned_version_06);
										cloned_version_info.setText(R.string.cloned_version_desc_06);
									    disable_reward_ad.setText(R.string.disable_rewarded_ads_06);
									    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_06);
									    installation_failed.setText(R.string.installation_failed_06);
									    installation_failed_desc.setText(R.string.installation_failed_desc_06);
									    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_06);
									    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_06);
									    existing_patched.setText(R.string.existing_patched_06);
									    existing_patched_desc.setText(R.string.existing_patched_desc_06);
									    close.setText(R.string.close_06);
									    cloned.setText(R.string.cloned_06);
									    ream.setText(R.string.ream_06);
									    install.setText(R.string.install_06);
									    uninstall.setText(R.string.uninstall_06);
									    ignore.setText(R.string.ignore_06);
									    delete.setText(R.string.delete_06);
									    uninstall_patched.setText(R.string.uninstall_patched_06);
									    open_settings.setText(R.string.open_settings_06);
									    open_patched.setText(R.string.open_patched_06);
										installation_failed_0 = installation_failed.getText().toString();
									    installation_failed_desc_0 = installation_failed_desc.getText().toString();
									    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
									    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
									    existing_patched_0 = existing_patched.getText().toString();
									    existing_patched_desc_0 = existing_patched_desc.getText().toString();
									    close_0 = close.getText().toString();
									    uninstall_0 = uninstall.getText().toString();
									
									select_language.setSelection((int)(6));
								}
								else {
									if (LANGUAGE.getString("LANGUAGE", "").equals("7")) {
										    title_1.setText(R.string.spotify_regular_07);
											title_2.setText(R.string.spotify_amoled_07);
											sub_text_installed.setText(R.string.installed_07);
											sub_text_1.setText(R.string.latest_07);
											sub_text_3.setText(R.string.latest_07);
											version_switch_1.setText(R.string.versions_07);
											version_switch_2.setText(R.string.versions_07);
											changelogs.setText(R.string.changelogs_07);
											title_sub.setText(R.string.manager_tools_07);
											device_cpu.setText(R.string.device_cpu_07);
											source.setText(R.string.source_07);
											support.setText(R.string.support_07);
											donate.setText(R.string.donate_07);
											about.setText(R.string.about_07);
											list_auto_refresh.setText(R.string.list_auto_refresh_07);
											list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_07);
											force_auto_install.setText(R.string.force_auto_install_07);
											force_auto_install_info.setText(R.string.force_auto_install_desc_07);
											copy_url_mode.setText(R.string.copy_url_mode_07);
											copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_07);
											navigation_bar.setText(R.string.hide_navigation_bar_07);
											theme.setText(R.string.show_themes_07);
											apk_location.setText(R.string.apk_location_07);
											apk_location_info.setText(R.string.apk_location_desc_07);
											clear_directory_folders.setText(R.string.clear_directory_folders_07);
											clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_07);
											reset_settings.setText(R.string.reset_settings_07);
											sub_title.setText(R.string.about_sub_07);
											developer_manager.setText(R.string.xmanager_dev_07);
											developer_spotify.setText(R.string.spotify_mod_devs_07);
											support_team.setText(R.string.telegram_support_team_07);
											mod_testers_1.setText(R.string.manager_testers_07);
											mod_testers_2.setText(R.string.manager_hosting_07);
											mobilism_team.setText(R.string.mobilism_team_07);
											forum_team.setText(R.string.forum_team_07);
											manager_team.setText(R.string.xspotify_team_07);
											contributors_1.setText(R.string.contributors_07);
											download_selected.setText(R.string.download_selected_07);
											download_ready.setText(R.string.download_ready_07);
											download_ready_desc.setText(R.string.download_ready_desc_07);
											downloading_file.setText(R.string.downloading_file_07);
											download_success.setText(R.string.download_success_07);
											copy_url_desc.setText(R.string.copy_url_desc_07);
											new_update.setText(R.string.new_update_07);
											download_selected_0 = download_selected.getText().toString();
											download_ready_0 = download_ready.getText().toString();
											download_ready_desc_0 = download_ready_desc.getText().toString();
											downloading_file_0 = downloading_file.getText().toString();
											download_success_0 = download_success.getText().toString();
											copy_url_desc_0 = copy_url_desc.getText().toString();
											copy_url.setText(R.string.copy_url_07);
											continue_1.setText(R.string.continue_1_07);
											cancel.setText(R.string.cancel_07);
											download.setText(R.string.download_07);
											later.setText(R.string.later_07);
											install_now.setText(R.string.install_now_07);
											install_update.setText(R.string.install_update_07);
											go_back.setText(R.string.go_back_07);
											download_update.setText(R.string.download_update_07);
											not_now.setText(R.string.not_now_07);
											show_support.setText(R.string.show_support_07);
											show_support_desc.setText(R.string.show_support_desc_07);
											copy_url_0 = copy_url.getText().toString();
											download_0 = download.getText().toString();
											continue_0 = continue_1.getText().toString();
											cancel_0 = cancel.getText().toString();
											later_0 = later.getText().toString();
											install_now_0 = install_now.getText().toString();
											go_back_0 = go_back.getText().toString();
											install_update_0 = install_update.getText().toString();
											main_title.setText(R.string.main_title_07);
											settings_title.setText(R.string.settings_title_07);
											about_title.setText(R.string.about_title_07);
											maintenance.setText(R.string.maintenance_07);
											maintenance_desc.setText(R.string.maintenance_desc_07);
											thanks.setText(R.string.thanks_07);
											language.setText(R.string.language_07);
											website.setText(R.string.website_07);
											discord.setText(R.string.discord_07);
											reddit.setText(R.string.reddit_07);
											faq.setText(R.string.faq_07);
											cloned_version.setText(R.string.cloned_version_07);
											cloned_version_info.setText(R.string.cloned_version_desc_07);
										    disable_reward_ad.setText(R.string.disable_rewarded_ads_07);
										    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_07);
										    installation_failed.setText(R.string.installation_failed_07);
										    installation_failed_desc.setText(R.string.installation_failed_desc_07);
										    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_07);
										    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_07);
										    existing_patched.setText(R.string.existing_patched_07);
										    existing_patched_desc.setText(R.string.existing_patched_desc_07);
										    close.setText(R.string.close_07);
										    cloned.setText(R.string.cloned_07);
										    ream.setText(R.string.ream_07);
										    install.setText(R.string.install_07);
										    uninstall.setText(R.string.uninstall_07);
										    ignore.setText(R.string.ignore_07);
										    delete.setText(R.string.delete_07);
										    uninstall_patched.setText(R.string.uninstall_patched_07);
										    open_settings.setText(R.string.open_settings_07);
										    open_patched.setText(R.string.open_patched_07);
											installation_failed_0 = installation_failed.getText().toString();
										    installation_failed_desc_0 = installation_failed_desc.getText().toString();
										    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
										    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
										    existing_patched_0 = existing_patched.getText().toString();
										    existing_patched_desc_0 = existing_patched_desc.getText().toString();
										    close_0 = close.getText().toString();
										    uninstall_0 = uninstall.getText().toString();
										
										select_language.setSelection((int)(7));
									}
									else {
										if (LANGUAGE.getString("LANGUAGE", "").equals("8")) {
											    title_1.setText(R.string.spotify_regular_08);
												title_2.setText(R.string.spotify_amoled_08);
												sub_text_installed.setText(R.string.installed_08);
												sub_text_1.setText(R.string.latest_08);
												sub_text_3.setText(R.string.latest_08);
												version_switch_1.setText(R.string.versions_08);
												version_switch_2.setText(R.string.versions_08);
												changelogs.setText(R.string.changelogs_08);
												title_sub.setText(R.string.manager_tools_08);
												device_cpu.setText(R.string.device_cpu_08);
												source.setText(R.string.source_08);
												support.setText(R.string.support_08);
												donate.setText(R.string.donate_08);
												about.setText(R.string.about_08);
												list_auto_refresh.setText(R.string.list_auto_refresh_08);
												list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_08);
												force_auto_install.setText(R.string.force_auto_install_08);
												force_auto_install_info.setText(R.string.force_auto_install_desc_08);
												copy_url_mode.setText(R.string.copy_url_mode_08);
												copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_08);
												navigation_bar.setText(R.string.hide_navigation_bar_08);
												theme.setText(R.string.show_themes_08);
												apk_location.setText(R.string.apk_location_08);
												apk_location_info.setText(R.string.apk_location_desc_08);
												clear_directory_folders.setText(R.string.clear_directory_folders_08);
												clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_08);
												reset_settings.setText(R.string.reset_settings_08);
												sub_title.setText(R.string.about_sub_08);
												developer_manager.setText(R.string.xmanager_dev_08);
												developer_spotify.setText(R.string.spotify_mod_devs_08);
												support_team.setText(R.string.telegram_support_team_08);
												mod_testers_1.setText(R.string.manager_testers_08);
												mod_testers_2.setText(R.string.manager_hosting_08);
												mobilism_team.setText(R.string.mobilism_team_08);
												forum_team.setText(R.string.forum_team_08);
												manager_team.setText(R.string.xspotify_team_08);
												contributors_1.setText(R.string.contributors_08);
												download_selected.setText(R.string.download_selected_08);
												download_ready.setText(R.string.download_ready_08);
												download_ready_desc.setText(R.string.download_ready_desc_08);
												downloading_file.setText(R.string.downloading_file_08);
												download_success.setText(R.string.download_success_08);
												copy_url_desc.setText(R.string.copy_url_desc_08);
												new_update.setText(R.string.new_update_08);
												download_selected_0 = download_selected.getText().toString();
												download_ready_0 = download_ready.getText().toString();
												download_ready_desc_0 = download_ready_desc.getText().toString();
												downloading_file_0 = downloading_file.getText().toString();
												download_success_0 = download_success.getText().toString();
												copy_url_desc_0 = copy_url_desc.getText().toString();
												copy_url.setText(R.string.copy_url_08);
												continue_1.setText(R.string.continue_1_08);
												cancel.setText(R.string.cancel_08);
												download.setText(R.string.download_08);
												later.setText(R.string.later_08);
												install_now.setText(R.string.install_now_08);
												install_update.setText(R.string.install_update_08);
												go_back.setText(R.string.go_back_08);
												download_update.setText(R.string.download_update_08);
												not_now.setText(R.string.not_now_08);
												show_support.setText(R.string.show_support_08);
												show_support_desc.setText(R.string.show_support_desc_08);
												copy_url_0 = copy_url.getText().toString();
												download_0 = download.getText().toString();
												continue_0 = continue_1.getText().toString();
												cancel_0 = cancel.getText().toString();
												later_0 = later.getText().toString();
												install_now_0 = install_now.getText().toString();
												go_back_0 = go_back.getText().toString();
												install_update_0 = install_update.getText().toString();
												main_title.setText(R.string.main_title_08);
												settings_title.setText(R.string.settings_title_08);
												about_title.setText(R.string.about_title_08);
												maintenance.setText(R.string.maintenance_08);
												maintenance_desc.setText(R.string.maintenance_desc_08);
												thanks.setText(R.string.thanks_08);
												language.setText(R.string.language_08);
												website.setText(R.string.website_08);
												discord.setText(R.string.discord_08);
												reddit.setText(R.string.reddit_08);
												faq.setText(R.string.faq_08);
												cloned_version.setText(R.string.cloned_version_08);
												cloned_version_info.setText(R.string.cloned_version_desc_08);
											    disable_reward_ad.setText(R.string.disable_rewarded_ads_08);
											    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_08);
											    installation_failed.setText(R.string.installation_failed_08);
											    installation_failed_desc.setText(R.string.installation_failed_desc_08);
											    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_08);
											    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_08);
											    existing_patched.setText(R.string.existing_patched_08);
											    existing_patched_desc.setText(R.string.existing_patched_desc_08);
											    close.setText(R.string.close_08);
											    cloned.setText(R.string.cloned_08);
											    ream.setText(R.string.ream_08);
											    install.setText(R.string.install_08);
											    uninstall.setText(R.string.uninstall_08);
											    ignore.setText(R.string.ignore_08);
											    delete.setText(R.string.delete_08);
											    uninstall_patched.setText(R.string.uninstall_patched_08);
											    open_settings.setText(R.string.open_settings_08);
											    open_patched.setText(R.string.open_patched_08);
												installation_failed_0 = installation_failed.getText().toString();
											    installation_failed_desc_0 = installation_failed_desc.getText().toString();
											    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
											    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
											    existing_patched_0 = existing_patched.getText().toString();
											    existing_patched_desc_0 = existing_patched_desc.getText().toString();
											    close_0 = close.getText().toString();
											    uninstall_0 = uninstall.getText().toString();
											
											select_language.setSelection((int)(8));
										}
										else {
											if (LANGUAGE.getString("LANGUAGE", "").equals("9")) {
												    title_1.setText(R.string.spotify_regular_09);
													title_2.setText(R.string.spotify_amoled_09);
													sub_text_installed.setText(R.string.installed_09);
													sub_text_1.setText(R.string.latest_09);
													sub_text_3.setText(R.string.latest_09);
													version_switch_1.setText(R.string.versions_09);
													version_switch_2.setText(R.string.versions_09);
													changelogs.setText(R.string.changelogs_09);
													title_sub.setText(R.string.manager_tools_09);
													device_cpu.setText(R.string.device_cpu_09);
													source.setText(R.string.source_09);
													support.setText(R.string.support_09);
													donate.setText(R.string.donate_09);
													about.setText(R.string.about_09);
													list_auto_refresh.setText(R.string.list_auto_refresh_09);
													list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_09);
													force_auto_install.setText(R.string.force_auto_install_09);
													force_auto_install_info.setText(R.string.force_auto_install_desc_09);
													copy_url_mode.setText(R.string.copy_url_mode_09);
													copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_09);
													navigation_bar.setText(R.string.hide_navigation_bar_09);
													theme.setText(R.string.show_themes_09);
													apk_location.setText(R.string.apk_location_09);
													apk_location_info.setText(R.string.apk_location_desc_09);
													clear_directory_folders.setText(R.string.clear_directory_folders_09);
													clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_09);
													reset_settings.setText(R.string.reset_settings_09);
													sub_title.setText(R.string.about_sub_09);
													developer_manager.setText(R.string.xmanager_dev_09);
													developer_spotify.setText(R.string.spotify_mod_devs_09);
													support_team.setText(R.string.telegram_support_team_09);
													mod_testers_1.setText(R.string.manager_testers_09);
													mod_testers_2.setText(R.string.manager_hosting_09);
													mobilism_team.setText(R.string.mobilism_team_09);
													forum_team.setText(R.string.forum_team_09);
													manager_team.setText(R.string.xspotify_team_09);
													contributors_1.setText(R.string.contributors_09);
													download_selected.setText(R.string.download_selected_09);
													download_ready.setText(R.string.download_ready_09);
													download_ready_desc.setText(R.string.download_ready_desc_09);
													downloading_file.setText(R.string.downloading_file_09);
													download_success.setText(R.string.download_success_09);
													copy_url_desc.setText(R.string.copy_url_desc_09);
													new_update.setText(R.string.new_update_09);
													download_selected_0 = download_selected.getText().toString();
													download_ready_0 = download_ready.getText().toString();
													download_ready_desc_0 = download_ready_desc.getText().toString();
													downloading_file_0 = downloading_file.getText().toString();
													download_success_0 = download_success.getText().toString();
													copy_url_desc_0 = copy_url_desc.getText().toString();
													copy_url.setText(R.string.copy_url_09);
													continue_1.setText(R.string.continue_1_09);
													cancel.setText(R.string.cancel_09);
													download.setText(R.string.download_09);
													later.setText(R.string.later_09);
													install_now.setText(R.string.install_now_09);
													install_update.setText(R.string.install_update_09);
													go_back.setText(R.string.go_back_09);
													download_update.setText(R.string.download_update_09);
													not_now.setText(R.string.not_now_09);
													show_support.setText(R.string.show_support_09);
													show_support_desc.setText(R.string.show_support_desc_09);
													copy_url_0 = copy_url.getText().toString();
													download_0 = download.getText().toString();
													continue_0 = continue_1.getText().toString();
													cancel_0 = cancel.getText().toString();
													later_0 = later.getText().toString();
													install_now_0 = install_now.getText().toString();
													go_back_0 = go_back.getText().toString();
													install_update_0 = install_update.getText().toString();
													main_title.setText(R.string.main_title_09);
													settings_title.setText(R.string.settings_title_09);
													about_title.setText(R.string.about_title_09);
													maintenance.setText(R.string.maintenance_09);
													maintenance_desc.setText(R.string.maintenance_desc_09);
													thanks.setText(R.string.thanks_09);
													language.setText(R.string.language_09);
													website.setText(R.string.website_09);
													discord.setText(R.string.discord_09);
													reddit.setText(R.string.reddit_09);
													faq.setText(R.string.faq_09);
													cloned_version.setText(R.string.cloned_version_09);
													cloned_version_info.setText(R.string.cloned_version_desc_09);
												    disable_reward_ad.setText(R.string.disable_rewarded_ads_09);
												    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_09);
												    installation_failed.setText(R.string.installation_failed_09);
												    installation_failed_desc.setText(R.string.installation_failed_desc_09);
												    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_09);
												    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_09);
												    existing_patched.setText(R.string.existing_patched_09);
												    existing_patched_desc.setText(R.string.existing_patched_desc_09);
												    close.setText(R.string.close_09);
												    cloned.setText(R.string.cloned_09);
												    ream.setText(R.string.ream_09);
												    install.setText(R.string.install_09);
												    uninstall.setText(R.string.uninstall_09);
												    ignore.setText(R.string.ignore_09);
												    delete.setText(R.string.delete_09);
												    uninstall_patched.setText(R.string.uninstall_patched_09);
												    open_settings.setText(R.string.open_settings_09);
												    open_patched.setText(R.string.open_patched_09);
													installation_failed_0 = installation_failed.getText().toString();
												    installation_failed_desc_0 = installation_failed_desc.getText().toString();
												    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
												    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
												    existing_patched_0 = existing_patched.getText().toString();
												    existing_patched_desc_0 = existing_patched_desc.getText().toString();
												    close_0 = close.getText().toString();
												    uninstall_0 = uninstall.getText().toString();
												
												select_language.setSelection((int)(9));
											}
											else {
												if (LANGUAGE.getString("LANGUAGE", "").equals("10")) {
													    title_1.setText(R.string.spotify_regular_10);
														title_2.setText(R.string.spotify_amoled_10);
														sub_text_installed.setText(R.string.installed_10);
														sub_text_1.setText(R.string.latest_10);
														sub_text_3.setText(R.string.latest_10);
														version_switch_1.setText(R.string.versions_10);
														version_switch_2.setText(R.string.versions_10);
														changelogs.setText(R.string.changelogs_10);
														title_sub.setText(R.string.manager_tools_10);
														device_cpu.setText(R.string.device_cpu_10);
														source.setText(R.string.source_10);
														support.setText(R.string.support_10);
														donate.setText(R.string.donate_10);
														about.setText(R.string.about_10);
														list_auto_refresh.setText(R.string.list_auto_refresh_10);
														list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_10);
														force_auto_install.setText(R.string.force_auto_install_10);
														force_auto_install_info.setText(R.string.force_auto_install_desc_10);
														copy_url_mode.setText(R.string.copy_url_mode_10);
														copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_10);
														navigation_bar.setText(R.string.hide_navigation_bar_10);
														theme.setText(R.string.show_themes_10);
														apk_location.setText(R.string.apk_location_10);
														apk_location_info.setText(R.string.apk_location_desc_10);
														clear_directory_folders.setText(R.string.clear_directory_folders_10);
														clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_10);
														reset_settings.setText(R.string.reset_settings_10);
														sub_title.setText(R.string.about_sub_10);
														developer_manager.setText(R.string.xmanager_dev_10);
														developer_spotify.setText(R.string.spotify_mod_devs_10);
														support_team.setText(R.string.telegram_support_team_10);
														mod_testers_1.setText(R.string.manager_testers_10);
														mod_testers_2.setText(R.string.manager_hosting_10);
														mobilism_team.setText(R.string.mobilism_team_10);
														forum_team.setText(R.string.forum_team_10);
														manager_team.setText(R.string.xspotify_team_10);
														contributors_1.setText(R.string.contributors_10);
														download_selected.setText(R.string.download_selected_10);
														download_ready.setText(R.string.download_ready_10);
														download_ready_desc.setText(R.string.download_ready_desc_10);
														downloading_file.setText(R.string.downloading_file_10);
														download_success.setText(R.string.download_success_10);
														copy_url_desc.setText(R.string.copy_url_desc_10);
														new_update.setText(R.string.new_update_10);
														download_selected_0 = download_selected.getText().toString();
														download_ready_0 = download_ready.getText().toString();
														download_ready_desc_0 = download_ready_desc.getText().toString();
														downloading_file_0 = downloading_file.getText().toString();
														download_success_0 = download_success.getText().toString();
														copy_url_desc_0 = copy_url_desc.getText().toString();
														copy_url.setText(R.string.copy_url_10);
														continue_1.setText(R.string.continue_1_10);
														cancel.setText(R.string.cancel_10);
														download.setText(R.string.download_10);
														later.setText(R.string.later_10);
														install_now.setText(R.string.install_now_10);
														install_update.setText(R.string.install_update_10);
														go_back.setText(R.string.go_back_10);
														download_update.setText(R.string.download_update_10);
														not_now.setText(R.string.not_now_10);
														show_support.setText(R.string.show_support_10);
														show_support_desc.setText(R.string.show_support_desc_10);
														copy_url_0 = copy_url.getText().toString();
														download_0 = download.getText().toString();
														continue_0 = continue_1.getText().toString();
														cancel_0 = cancel.getText().toString();
														later_0 = later.getText().toString();
														install_now_0 = install_now.getText().toString();
														go_back_0 = go_back.getText().toString();
														install_update_0 = install_update.getText().toString();
														main_title.setText(R.string.main_title_10);
														settings_title.setText(R.string.settings_title_10);
														about_title.setText(R.string.about_title_10);
														maintenance.setText(R.string.maintenance_10);
														maintenance_desc.setText(R.string.maintenance_desc_10);
														thanks.setText(R.string.thanks_10);
														language.setText(R.string.language_10);
														website.setText(R.string.website_10);
														discord.setText(R.string.discord_10);
														reddit.setText(R.string.reddit_10);
														faq.setText(R.string.faq_10);
														cloned_version.setText(R.string.cloned_version_10);
														cloned_version_info.setText(R.string.cloned_version_desc_10);
													    disable_reward_ad.setText(R.string.disable_rewarded_ads_10);
													    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_10);
													    installation_failed.setText(R.string.installation_failed_10);
													    installation_failed_desc.setText(R.string.installation_failed_desc_10);
													    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_10);
													    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_10);
													    existing_patched.setText(R.string.existing_patched_10);
													    existing_patched_desc.setText(R.string.existing_patched_desc_10);
													    close.setText(R.string.close_10);
													    cloned.setText(R.string.cloned_10);
													    ream.setText(R.string.ream_10);
													    install.setText(R.string.install_10);
													    uninstall.setText(R.string.uninstall_10);
													    ignore.setText(R.string.ignore_10);
													    delete.setText(R.string.delete_10);
													    uninstall_patched.setText(R.string.uninstall_patched_10);
													    open_settings.setText(R.string.open_settings_10);
													    open_patched.setText(R.string.open_patched_10);
														installation_failed_0 = installation_failed.getText().toString();
													    installation_failed_desc_0 = installation_failed_desc.getText().toString();
													    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
													    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
													    existing_patched_0 = existing_patched.getText().toString();
													    existing_patched_desc_0 = existing_patched_desc.getText().toString();
													    close_0 = close.getText().toString();
													    uninstall_0 = uninstall.getText().toString();
													
													select_language.setSelection((int)(10));
												}
												else {
													if (LANGUAGE.getString("LANGUAGE", "").equals("11")) {
														    title_1.setText(R.string.spotify_regular_11);
															title_2.setText(R.string.spotify_amoled_11);
															sub_text_installed.setText(R.string.installed_11);
															sub_text_1.setText(R.string.latest_11);
															sub_text_3.setText(R.string.latest_11);
															version_switch_1.setText(R.string.versions_11);
															version_switch_2.setText(R.string.versions_11);
															changelogs.setText(R.string.changelogs_11);
															title_sub.setText(R.string.manager_tools_11);
															device_cpu.setText(R.string.device_cpu_11);
															source.setText(R.string.source_11);
															support.setText(R.string.support_11);
															donate.setText(R.string.donate_11);
															about.setText(R.string.about_11);
															list_auto_refresh.setText(R.string.list_auto_refresh_11);
															list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_11);
															force_auto_install.setText(R.string.force_auto_install_11);
															force_auto_install_info.setText(R.string.force_auto_install_desc_11);
															copy_url_mode.setText(R.string.copy_url_mode_11);
															copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_11);
															navigation_bar.setText(R.string.hide_navigation_bar_11);
															theme.setText(R.string.show_themes_11);
															apk_location.setText(R.string.apk_location_11);
															apk_location_info.setText(R.string.apk_location_desc_11);
															clear_directory_folders.setText(R.string.clear_directory_folders_11);
															clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_11);
															reset_settings.setText(R.string.reset_settings_11);
															sub_title.setText(R.string.about_sub_11);
															developer_manager.setText(R.string.xmanager_dev_11);
															developer_spotify.setText(R.string.spotify_mod_devs_11);
															support_team.setText(R.string.telegram_support_team_11);
															mod_testers_1.setText(R.string.manager_testers_11);
															mod_testers_2.setText(R.string.manager_hosting_11);
															mobilism_team.setText(R.string.mobilism_team_11);
															forum_team.setText(R.string.forum_team_11);
															manager_team.setText(R.string.xspotify_team_11);
															contributors_1.setText(R.string.contributors_11);
															download_selected.setText(R.string.download_selected_11);
															download_ready.setText(R.string.download_ready_11);
															download_ready_desc.setText(R.string.download_ready_desc_11);
															downloading_file.setText(R.string.downloading_file_11);
															download_success.setText(R.string.download_success_11);
															copy_url_desc.setText(R.string.copy_url_desc_11);
															new_update.setText(R.string.new_update_11);
															download_selected_0 = download_selected.getText().toString();
															download_ready_0 = download_ready.getText().toString();
															download_ready_desc_0 = download_ready_desc.getText().toString();
															downloading_file_0 = downloading_file.getText().toString();
															download_success_0 = download_success.getText().toString();
															copy_url_desc_0 = copy_url_desc.getText().toString();
															copy_url.setText(R.string.copy_url_11);
															continue_1.setText(R.string.continue_1_11);
															cancel.setText(R.string.cancel_11);
															download.setText(R.string.download_11);
															later.setText(R.string.later_11);
															install_now.setText(R.string.install_now_11);
															install_update.setText(R.string.install_update_11);
															go_back.setText(R.string.go_back_11);
															download_update.setText(R.string.download_update_11);
															not_now.setText(R.string.not_now_11);
															show_support.setText(R.string.show_support_11);
															show_support_desc.setText(R.string.show_support_desc_11);
															copy_url_0 = copy_url.getText().toString();
															download_0 = download.getText().toString();
															continue_0 = continue_1.getText().toString();
															cancel_0 = cancel.getText().toString();
															later_0 = later.getText().toString();
															install_now_0 = install_now.getText().toString();
															go_back_0 = go_back.getText().toString();
															install_update_0 = install_update.getText().toString();
															main_title.setText(R.string.main_title_11);
															settings_title.setText(R.string.settings_title_11);
															about_title.setText(R.string.about_title_11);
															maintenance.setText(R.string.maintenance_11);
															maintenance_desc.setText(R.string.maintenance_desc_11);
															thanks.setText(R.string.thanks_11);
															language.setText(R.string.language_11);
															website.setText(R.string.website_11);
															discord.setText(R.string.discord_11);
															reddit.setText(R.string.reddit_11);
															faq.setText(R.string.faq_11);
															cloned_version.setText(R.string.cloned_version_11);
															cloned_version_info.setText(R.string.cloned_version_desc_11);
														    disable_reward_ad.setText(R.string.disable_rewarded_ads_11);
														    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_11);
														    installation_failed.setText(R.string.installation_failed_11);
														    installation_failed_desc.setText(R.string.installation_failed_desc_11);
														    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_11);
														    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_11);
														    existing_patched.setText(R.string.existing_patched_11);
														    existing_patched_desc.setText(R.string.existing_patched_desc_11);
														    close.setText(R.string.close_11);
														    cloned.setText(R.string.cloned_11);
														    ream.setText(R.string.ream_11);
														    install.setText(R.string.install_11);
														    uninstall.setText(R.string.uninstall_11);
														    ignore.setText(R.string.ignore_11);
														    delete.setText(R.string.delete_11);
														    uninstall_patched.setText(R.string.uninstall_patched_11);
														    open_settings.setText(R.string.open_settings_11);
														    open_patched.setText(R.string.open_patched_11);
															installation_failed_0 = installation_failed.getText().toString();
														    installation_failed_desc_0 = installation_failed_desc.getText().toString();
														    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
														    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
														    existing_patched_0 = existing_patched.getText().toString();
														    existing_patched_desc_0 = existing_patched_desc.getText().toString();
														    close_0 = close.getText().toString();
														    uninstall_0 = uninstall.getText().toString();
														
														select_language.setSelection((int)(11));
													}
													else {
														if (LANGUAGE.getString("LANGUAGE", "").equals("12")) {
															    title_1.setText(R.string.spotify_regular_12);
																title_2.setText(R.string.spotify_amoled_12);
																sub_text_installed.setText(R.string.installed_12);
																sub_text_1.setText(R.string.latest_12);
																sub_text_3.setText(R.string.latest_12);
																version_switch_1.setText(R.string.versions_12);
																version_switch_2.setText(R.string.versions_12);
																changelogs.setText(R.string.changelogs_12);
																title_sub.setText(R.string.manager_tools_12);
																device_cpu.setText(R.string.device_cpu_12);
																source.setText(R.string.source_12);
																support.setText(R.string.support_12);
																donate.setText(R.string.donate_12);
																about.setText(R.string.about_12);
																list_auto_refresh.setText(R.string.list_auto_refresh_12);
																list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_12);
																force_auto_install.setText(R.string.force_auto_install_12);
																force_auto_install_info.setText(R.string.force_auto_install_desc_12);
																copy_url_mode.setText(R.string.copy_url_mode_12);
																copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_12);
																navigation_bar.setText(R.string.hide_navigation_bar_12);
																theme.setText(R.string.show_themes_12);
																apk_location.setText(R.string.apk_location_12);
																apk_location_info.setText(R.string.apk_location_desc_12);
																clear_directory_folders.setText(R.string.clear_directory_folders_12);
																clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_12);
																reset_settings.setText(R.string.reset_settings_12);
																sub_title.setText(R.string.about_sub_12);
																developer_manager.setText(R.string.xmanager_dev_12);
																developer_spotify.setText(R.string.spotify_mod_devs_12);
																support_team.setText(R.string.telegram_support_team_12);
																mod_testers_1.setText(R.string.manager_testers_12);
																mod_testers_2.setText(R.string.manager_hosting_12);
																mobilism_team.setText(R.string.mobilism_team_12);
																forum_team.setText(R.string.forum_team_12);
																manager_team.setText(R.string.xspotify_team_12);
																contributors_1.setText(R.string.contributors_12);
																download_selected.setText(R.string.download_selected_12);
																download_ready.setText(R.string.download_ready_12);
																download_ready_desc.setText(R.string.download_ready_desc_12);
																downloading_file.setText(R.string.downloading_file_12);
																download_success.setText(R.string.download_success_12);
																copy_url_desc.setText(R.string.copy_url_desc_12);
																new_update.setText(R.string.new_update_12);
																download_selected_0 = download_selected.getText().toString();
																download_ready_0 = download_ready.getText().toString();
																download_ready_desc_0 = download_ready_desc.getText().toString();
																downloading_file_0 = downloading_file.getText().toString();
																download_success_0 = download_success.getText().toString();
																copy_url_desc_0 = copy_url_desc.getText().toString();
																copy_url.setText(R.string.copy_url_12);
																continue_1.setText(R.string.continue_1_12);
																cancel.setText(R.string.cancel_12);
																download.setText(R.string.download_12);
																later.setText(R.string.later_12);
																install_now.setText(R.string.install_now_12);
																install_update.setText(R.string.install_update_12);
																go_back.setText(R.string.go_back_12);
																download_update.setText(R.string.download_update_12);
																not_now.setText(R.string.not_now_12);
																show_support.setText(R.string.show_support_12);
																show_support_desc.setText(R.string.show_support_desc_12);
																copy_url_0 = copy_url.getText().toString();
																download_0 = download.getText().toString();
																continue_0 = continue_1.getText().toString();
																cancel_0 = cancel.getText().toString();
																later_0 = later.getText().toString();
																install_now_0 = install_now.getText().toString();
																go_back_0 = go_back.getText().toString();
																install_update_0 = install_update.getText().toString();
																main_title.setText(R.string.main_title_12);
																settings_title.setText(R.string.settings_title_12);
																about_title.setText(R.string.about_title_12);
																maintenance.setText(R.string.maintenance_12);
																maintenance_desc.setText(R.string.maintenance_desc_12);
																thanks.setText(R.string.thanks_12);
																language.setText(R.string.language_12);
																website.setText(R.string.website_12);
																discord.setText(R.string.discord_12);
																reddit.setText(R.string.reddit_12);
																faq.setText(R.string.faq_12);
																cloned_version.setText(R.string.cloned_version_12);
																cloned_version_info.setText(R.string.cloned_version_desc_12);
															    disable_reward_ad.setText(R.string.disable_rewarded_ads_12);
															    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_12);
															    installation_failed.setText(R.string.installation_failed_12);
															    installation_failed_desc.setText(R.string.installation_failed_desc_12);
															    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_12);
															    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_12);
															    existing_patched.setText(R.string.existing_patched_12);
															    existing_patched_desc.setText(R.string.existing_patched_desc_12);
															    close.setText(R.string.close_12);
															    cloned.setText(R.string.cloned_12);
															    ream.setText(R.string.ream_12);
															    install.setText(R.string.install_12);
															    uninstall.setText(R.string.uninstall_12);
															    ignore.setText(R.string.ignore_12);
															    delete.setText(R.string.delete_12);
															    uninstall_patched.setText(R.string.uninstall_patched_12);
															    open_settings.setText(R.string.open_settings_12);
															    open_patched.setText(R.string.open_patched_12);
																installation_failed_0 = installation_failed.getText().toString();
															    installation_failed_desc_0 = installation_failed_desc.getText().toString();
															    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
															    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
															    existing_patched_0 = existing_patched.getText().toString();
															    existing_patched_desc_0 = existing_patched_desc.getText().toString();
															    close_0 = close.getText().toString();
															    uninstall_0 = uninstall.getText().toString();
															
															select_language.setSelection((int)(12));
														}
														else {
															if (LANGUAGE.getString("LANGUAGE", "").equals("13")) {
																    title_1.setText(R.string.spotify_regular_13);
																	title_2.setText(R.string.spotify_amoled_13);
																	sub_text_installed.setText(R.string.installed_13);
																	sub_text_1.setText(R.string.latest_13);
																	sub_text_3.setText(R.string.latest_13);
																	version_switch_1.setText(R.string.versions_13);
																	version_switch_2.setText(R.string.versions_13);
																	changelogs.setText(R.string.changelogs_13);
																	title_sub.setText(R.string.manager_tools_13);
																	device_cpu.setText(R.string.device_cpu_13);
																	source.setText(R.string.source_13);
																	support.setText(R.string.support_13);
																	donate.setText(R.string.donate_13);
																	about.setText(R.string.about_13);
																	list_auto_refresh.setText(R.string.list_auto_refresh_13);
																	list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_13);
																	force_auto_install.setText(R.string.force_auto_install_13);
																	force_auto_install_info.setText(R.string.force_auto_install_desc_13);
																	copy_url_mode.setText(R.string.copy_url_mode_13);
																	copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_13);
																	navigation_bar.setText(R.string.hide_navigation_bar_13);
																	theme.setText(R.string.show_themes_13);
																	apk_location.setText(R.string.apk_location_13);
																	apk_location_info.setText(R.string.apk_location_desc_13);
																	clear_directory_folders.setText(R.string.clear_directory_folders_13);
																	clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_13);
																	reset_settings.setText(R.string.reset_settings_13);
																	sub_title.setText(R.string.about_sub_13);
																	developer_manager.setText(R.string.xmanager_dev_13);
																	developer_spotify.setText(R.string.spotify_mod_devs_13);
																	support_team.setText(R.string.telegram_support_team_13);
																	mod_testers_1.setText(R.string.manager_testers_13);
																	mod_testers_2.setText(R.string.manager_hosting_13);
																	mobilism_team.setText(R.string.mobilism_team_13);
																	forum_team.setText(R.string.forum_team_13);
																	manager_team.setText(R.string.xspotify_team_13);
																	contributors_1.setText(R.string.contributors_13);
																	download_selected.setText(R.string.download_selected_13);
																	download_ready.setText(R.string.download_ready_13);
																	download_ready_desc.setText(R.string.download_ready_desc_13);
																	downloading_file.setText(R.string.downloading_file_13);
																	download_success.setText(R.string.download_success_13);
																	copy_url_desc.setText(R.string.copy_url_desc_13);
																	new_update.setText(R.string.new_update_13);
																	download_selected_0 = download_selected.getText().toString();
																	download_ready_0 = download_ready.getText().toString();
																	download_ready_desc_0 = download_ready_desc.getText().toString();
																	downloading_file_0 = downloading_file.getText().toString();
																	download_success_0 = download_success.getText().toString();
																	copy_url_desc_0 = copy_url_desc.getText().toString();
																	copy_url.setText(R.string.copy_url_13);
																	continue_1.setText(R.string.continue_1_13);
																	cancel.setText(R.string.cancel_13);
																	download.setText(R.string.download_13);
																	later.setText(R.string.later_13);
																	install_now.setText(R.string.install_now_13);
																	install_update.setText(R.string.install_update_13);
																	go_back.setText(R.string.go_back_13);
																	download_update.setText(R.string.download_update_13);
																	not_now.setText(R.string.not_now_13);
																	show_support.setText(R.string.show_support_13);
																	show_support_desc.setText(R.string.show_support_desc_13);
																	copy_url_0 = copy_url.getText().toString();
																	download_0 = download.getText().toString();
																	continue_0 = continue_1.getText().toString();
																	cancel_0 = cancel.getText().toString();
																	later_0 = later.getText().toString();
																	install_now_0 = install_now.getText().toString();
																	go_back_0 = go_back.getText().toString();
																	install_update_0 = install_update.getText().toString();
																	main_title.setText(R.string.main_title_13);
																	settings_title.setText(R.string.settings_title_13);
																	about_title.setText(R.string.about_title_13);
																	maintenance.setText(R.string.maintenance_13);
																	maintenance_desc.setText(R.string.maintenance_desc_13);
																	thanks.setText(R.string.thanks_13);
																	language.setText(R.string.language_13);
																	website.setText(R.string.website_13);
																	discord.setText(R.string.discord_13);
																	reddit.setText(R.string.reddit_13);
																	faq.setText(R.string.faq_13);
																	cloned_version.setText(R.string.cloned_version_13);
																	cloned_version_info.setText(R.string.cloned_version_desc_13);
																    disable_reward_ad.setText(R.string.disable_rewarded_ads_13);
																    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_13);
																    installation_failed.setText(R.string.installation_failed_13);
																    installation_failed_desc.setText(R.string.installation_failed_desc_13);
																    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_13);
																    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_13);
																    existing_patched.setText(R.string.existing_patched_13);
																    existing_patched_desc.setText(R.string.existing_patched_desc_13);
																    close.setText(R.string.close_13);
																    cloned.setText(R.string.cloned_13);
																    ream.setText(R.string.ream_13);
																    install.setText(R.string.install_13);
																    uninstall.setText(R.string.uninstall_13);
																    ignore.setText(R.string.ignore_13);
																    delete.setText(R.string.delete_13);
																    uninstall_patched.setText(R.string.uninstall_patched_13);
																    open_settings.setText(R.string.open_settings_13);
																    open_patched.setText(R.string.open_patched_13);
																	installation_failed_0 = installation_failed.getText().toString();
																    installation_failed_desc_0 = installation_failed_desc.getText().toString();
																    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
																    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
																    existing_patched_0 = existing_patched.getText().toString();
																    existing_patched_desc_0 = existing_patched_desc.getText().toString();
																    close_0 = close.getText().toString();
																    uninstall_0 = uninstall.getText().toString();
																
																select_language.setSelection((int)(13));
															}
															else {
																if (LANGUAGE.getString("LANGUAGE", "").equals("14")) {
																	    title_1.setText(R.string.spotify_regular_14);
																		title_2.setText(R.string.spotify_amoled_14);
																		sub_text_installed.setText(R.string.installed_14);
																		sub_text_1.setText(R.string.latest_14);
																		sub_text_3.setText(R.string.latest_14);
																		version_switch_1.setText(R.string.versions_14);
																		version_switch_2.setText(R.string.versions_14);
																		changelogs.setText(R.string.changelogs_14);
																		title_sub.setText(R.string.manager_tools_14);
																		device_cpu.setText(R.string.device_cpu_14);
																		source.setText(R.string.source_14);
																		support.setText(R.string.support_14);
																		donate.setText(R.string.donate_14);
																		about.setText(R.string.about_14);
																		list_auto_refresh.setText(R.string.list_auto_refresh_14);
																		list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_14);
																		force_auto_install.setText(R.string.force_auto_install_14);
																		force_auto_install_info.setText(R.string.force_auto_install_desc_14);
																		copy_url_mode.setText(R.string.copy_url_mode_14);
																		copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_14);
																		navigation_bar.setText(R.string.hide_navigation_bar_14);
																		theme.setText(R.string.show_themes_14);
																		apk_location.setText(R.string.apk_location_14);
																		apk_location_info.setText(R.string.apk_location_desc_14);
																		clear_directory_folders.setText(R.string.clear_directory_folders_14);
																		clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_14);
																		reset_settings.setText(R.string.reset_settings_14);
																		sub_title.setText(R.string.about_sub_14);
																		developer_manager.setText(R.string.xmanager_dev_14);
																		developer_spotify.setText(R.string.spotify_mod_devs_14);
																		support_team.setText(R.string.telegram_support_team_14);
																		mod_testers_1.setText(R.string.manager_testers_14);
																		mod_testers_2.setText(R.string.manager_hosting_14);
																		mobilism_team.setText(R.string.mobilism_team_14);
																		forum_team.setText(R.string.forum_team_14);
																		manager_team.setText(R.string.xspotify_team_14);
																		contributors_1.setText(R.string.contributors_14);
																		download_selected.setText(R.string.download_selected_14);
																		download_ready.setText(R.string.download_ready_14);
																		download_ready_desc.setText(R.string.download_ready_desc_14);
																		downloading_file.setText(R.string.downloading_file_14);
																		download_success.setText(R.string.download_success_14);
																		copy_url_desc.setText(R.string.copy_url_desc_14);
																		new_update.setText(R.string.new_update_14);
																		download_selected_0 = download_selected.getText().toString();
																		download_ready_0 = download_ready.getText().toString();
																		download_ready_desc_0 = download_ready_desc.getText().toString();
																		downloading_file_0 = downloading_file.getText().toString();
																		download_success_0 = download_success.getText().toString();
																		copy_url_desc_0 = copy_url_desc.getText().toString();
																		copy_url.setText(R.string.copy_url_14);
																		continue_1.setText(R.string.continue_1_14);
																		cancel.setText(R.string.cancel_14);
																		download.setText(R.string.download_14);
																		later.setText(R.string.later_14);
																		install_now.setText(R.string.install_now_14);
																		install_update.setText(R.string.install_update_14);
																		go_back.setText(R.string.go_back_14);
																		download_update.setText(R.string.download_update_14);
																		not_now.setText(R.string.not_now_14);
																		show_support.setText(R.string.show_support_14);
																		show_support_desc.setText(R.string.show_support_desc_14);
																		copy_url_0 = copy_url.getText().toString();
																		download_0 = download.getText().toString();
																		continue_0 = continue_1.getText().toString();
																		cancel_0 = cancel.getText().toString();
																		later_0 = later.getText().toString();
																		install_now_0 = install_now.getText().toString();
																		go_back_0 = go_back.getText().toString();
																		install_update_0 = install_update.getText().toString();
																		main_title.setText(R.string.main_title_14);
																		settings_title.setText(R.string.settings_title_14);
																		about_title.setText(R.string.about_title_14);
																		maintenance.setText(R.string.maintenance_14);
																		maintenance_desc.setText(R.string.maintenance_desc_14);
																		thanks.setText(R.string.thanks_14);
																		language.setText(R.string.language_14);
																		website.setText(R.string.website_14);
																		discord.setText(R.string.discord_14);
																		reddit.setText(R.string.reddit_14);
																		faq.setText(R.string.faq_14);
																		cloned_version.setText(R.string.cloned_version_14);
																		cloned_version_info.setText(R.string.cloned_version_desc_14);
																	    disable_reward_ad.setText(R.string.disable_rewarded_ads_14);
																	    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_14);
																	    installation_failed.setText(R.string.installation_failed_14);
																	    installation_failed_desc.setText(R.string.installation_failed_desc_14);
																	    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_14);
																	    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_14);
																	    existing_patched.setText(R.string.existing_patched_14);
																	    existing_patched_desc.setText(R.string.existing_patched_desc_14);
																	    close.setText(R.string.close_14);
																	    cloned.setText(R.string.cloned_14);
																	    ream.setText(R.string.ream_14);
																	    install.setText(R.string.install_14);
																	    uninstall.setText(R.string.uninstall_14);
																	    ignore.setText(R.string.ignore_14);
																	    delete.setText(R.string.delete_14);
																	    uninstall_patched.setText(R.string.uninstall_patched_14);
																	    open_settings.setText(R.string.open_settings_14);
																	    open_patched.setText(R.string.open_patched_14);
																		installation_failed_0 = installation_failed.getText().toString();
																	    installation_failed_desc_0 = installation_failed_desc.getText().toString();
																	    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
																	    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
																	    existing_patched_0 = existing_patched.getText().toString();
																	    existing_patched_desc_0 = existing_patched_desc.getText().toString();
																	    close_0 = close.getText().toString();
																	    uninstall_0 = uninstall.getText().toString();
																	
																	select_language.setSelection((int)(14));
																}
																else {
																	if (LANGUAGE.getString("LANGUAGE", "").equals("15")) {
																		    title_1.setText(R.string.spotify_regular_15);
																			title_2.setText(R.string.spotify_amoled_15);
																			sub_text_installed.setText(R.string.installed_15);
																			sub_text_1.setText(R.string.latest_15);
																			sub_text_3.setText(R.string.latest_15);
																			version_switch_1.setText(R.string.versions_15);
																			version_switch_2.setText(R.string.versions_15);
																			changelogs.setText(R.string.changelogs_15);
																			title_sub.setText(R.string.manager_tools_15);
																			device_cpu.setText(R.string.device_cpu_15);
																			source.setText(R.string.source_15);
																			support.setText(R.string.support_15);
																			donate.setText(R.string.donate_15);
																			about.setText(R.string.about_15);
																			list_auto_refresh.setText(R.string.list_auto_refresh_15);
																			list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_15);
																			force_auto_install.setText(R.string.force_auto_install_15);
																			force_auto_install_info.setText(R.string.force_auto_install_desc_15);
																			copy_url_mode.setText(R.string.copy_url_mode_15);
																			copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_15);
																			navigation_bar.setText(R.string.hide_navigation_bar_15);
																			theme.setText(R.string.show_themes_15);
																			apk_location.setText(R.string.apk_location_15);
																			apk_location_info.setText(R.string.apk_location_desc_15);
																			clear_directory_folders.setText(R.string.clear_directory_folders_15);
																			clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_15);
																			reset_settings.setText(R.string.reset_settings_15);
																			sub_title.setText(R.string.about_sub_15);
																			developer_manager.setText(R.string.xmanager_dev_15);
																			developer_spotify.setText(R.string.spotify_mod_devs_15);
																			support_team.setText(R.string.telegram_support_team_15);
																			mod_testers_1.setText(R.string.manager_testers_15);
																			mod_testers_2.setText(R.string.manager_hosting_15);
																			mobilism_team.setText(R.string.mobilism_team_15);
																			forum_team.setText(R.string.forum_team_15);
																			manager_team.setText(R.string.xspotify_team_15);
																			contributors_1.setText(R.string.contributors_15);
																			download_selected.setText(R.string.download_selected_15);
																			download_ready.setText(R.string.download_ready_15);
																			download_ready_desc.setText(R.string.download_ready_desc_15);
																			downloading_file.setText(R.string.downloading_file_15);
																			download_success.setText(R.string.download_success_15);
																			copy_url_desc.setText(R.string.copy_url_desc_15);
																			new_update.setText(R.string.new_update_15);
																			download_selected_0 = download_selected.getText().toString();
																			download_ready_0 = download_ready.getText().toString();
																			download_ready_desc_0 = download_ready_desc.getText().toString();
																			downloading_file_0 = downloading_file.getText().toString();
																			download_success_0 = download_success.getText().toString();
																			copy_url_desc_0 = copy_url_desc.getText().toString();
																			copy_url.setText(R.string.copy_url_15);
																			continue_1.setText(R.string.continue_1_15);
																			cancel.setText(R.string.cancel_15);
																			download.setText(R.string.download_15);
																			later.setText(R.string.later_15);
																			install_now.setText(R.string.install_now_15);
																			install_update.setText(R.string.install_update_15);
																			go_back.setText(R.string.go_back_15);
																			download_update.setText(R.string.download_update_15);
																			not_now.setText(R.string.not_now_15);
																			show_support.setText(R.string.show_support_15);
																			show_support_desc.setText(R.string.show_support_desc_15);
																			copy_url_0 = copy_url.getText().toString();
																			download_0 = download.getText().toString();
																			continue_0 = continue_1.getText().toString();
																			cancel_0 = cancel.getText().toString();
																			later_0 = later.getText().toString();
																			install_now_0 = install_now.getText().toString();
																			go_back_0 = go_back.getText().toString();
																			install_update_0 = install_update.getText().toString();
																			main_title.setText(R.string.main_title_15);
																			settings_title.setText(R.string.settings_title_15);
																			about_title.setText(R.string.about_title_15);
																			maintenance.setText(R.string.maintenance_15);
																			maintenance_desc.setText(R.string.maintenance_desc_15);
																			thanks.setText(R.string.thanks_15);
																			language.setText(R.string.language_15);
																			website.setText(R.string.website_15);
																			discord.setText(R.string.discord_15);
																			reddit.setText(R.string.reddit_15);
																			faq.setText(R.string.faq_15);
																			cloned_version.setText(R.string.cloned_version_15);
																			cloned_version_info.setText(R.string.cloned_version_desc_15);
																		    disable_reward_ad.setText(R.string.disable_rewarded_ads_15);
																		    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_15);
																		    installation_failed.setText(R.string.installation_failed_15);
																		    installation_failed_desc.setText(R.string.installation_failed_desc_15);
																		    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_15);
																		    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_15);
																		    existing_patched.setText(R.string.existing_patched_15);
																		    existing_patched_desc.setText(R.string.existing_patched_desc_15);
																		    close.setText(R.string.close_15);
																		    cloned.setText(R.string.cloned_15);
																		    ream.setText(R.string.ream_15);
																		    install.setText(R.string.install_15);
																		    uninstall.setText(R.string.uninstall_15);
																		    ignore.setText(R.string.ignore_15);
																		    delete.setText(R.string.delete_15);
																		    uninstall_patched.setText(R.string.uninstall_patched_15);
																		    open_settings.setText(R.string.open_settings_15);
																		    open_patched.setText(R.string.open_patched_15);
																			installation_failed_0 = installation_failed.getText().toString();
																		    installation_failed_desc_0 = installation_failed_desc.getText().toString();
																		    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
																		    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
																		    existing_patched_0 = existing_patched.getText().toString();
																		    existing_patched_desc_0 = existing_patched_desc.getText().toString();
																		    close_0 = close.getText().toString();
																		    uninstall_0 = uninstall.getText().toString();
																		
																		select_language.setSelection((int)(15));
																	}
																	else {
																		if (LANGUAGE.getString("LANGUAGE", "").equals("16")) {
																			    title_1.setText(R.string.spotify_regular_16);
																				title_2.setText(R.string.spotify_amoled_16);
																				sub_text_installed.setText(R.string.installed_16);
																				sub_text_1.setText(R.string.latest_16);
																				sub_text_3.setText(R.string.latest_16);
																				version_switch_1.setText(R.string.versions_16);
																				version_switch_2.setText(R.string.versions_16);
																				changelogs.setText(R.string.changelogs_16);
																				title_sub.setText(R.string.manager_tools_16);
																				device_cpu.setText(R.string.device_cpu_16);
																				source.setText(R.string.source_16);
																				support.setText(R.string.support_16);
																				donate.setText(R.string.donate_16);
																				about.setText(R.string.about_16);
																				list_auto_refresh.setText(R.string.list_auto_refresh_16);
																				list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_16);
																				force_auto_install.setText(R.string.force_auto_install_16);
																				force_auto_install_info.setText(R.string.force_auto_install_desc_16);
																				copy_url_mode.setText(R.string.copy_url_mode_16);
																				copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_16);
																				navigation_bar.setText(R.string.hide_navigation_bar_16);
																				theme.setText(R.string.show_themes_16);
																				apk_location.setText(R.string.apk_location_16);
																				apk_location_info.setText(R.string.apk_location_desc_16);
																				clear_directory_folders.setText(R.string.clear_directory_folders_16);
																				clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_16);
																				reset_settings.setText(R.string.reset_settings_16);
																				sub_title.setText(R.string.about_sub_16);
																				developer_manager.setText(R.string.xmanager_dev_16);
																				developer_spotify.setText(R.string.spotify_mod_devs_16);
																				support_team.setText(R.string.telegram_support_team_16);
																				mod_testers_1.setText(R.string.manager_testers_16);
																				mod_testers_2.setText(R.string.manager_hosting_16);
																				mobilism_team.setText(R.string.mobilism_team_16);
																				forum_team.setText(R.string.forum_team_16);
																				manager_team.setText(R.string.xspotify_team_16);
																				contributors_1.setText(R.string.contributors_16);
																				download_selected.setText(R.string.download_selected_16);
																				download_ready.setText(R.string.download_ready_16);
																				download_ready_desc.setText(R.string.download_ready_desc_16);
																				downloading_file.setText(R.string.downloading_file_16);
																				download_success.setText(R.string.download_success_16);
																				copy_url_desc.setText(R.string.copy_url_desc_16);
																				new_update.setText(R.string.new_update_16);
																				download_selected_0 = download_selected.getText().toString();
																				download_ready_0 = download_ready.getText().toString();
																				download_ready_desc_0 = download_ready_desc.getText().toString();
																				downloading_file_0 = downloading_file.getText().toString();
																				download_success_0 = download_success.getText().toString();
																				copy_url_desc_0 = copy_url_desc.getText().toString();
																				copy_url.setText(R.string.copy_url_16);
																				continue_1.setText(R.string.continue_1_16);
																				cancel.setText(R.string.cancel_16);
																				download.setText(R.string.download_16);
																				later.setText(R.string.later_16);
																				install_now.setText(R.string.install_now_16);
																				install_update.setText(R.string.install_update_16);
																				go_back.setText(R.string.go_back_16);
																				download_update.setText(R.string.download_update_16);
																				not_now.setText(R.string.not_now_16);
																				show_support.setText(R.string.show_support_16);
																				show_support_desc.setText(R.string.show_support_desc_16);
																				copy_url_0 = copy_url.getText().toString();
																				download_0 = download.getText().toString();
																				continue_0 = continue_1.getText().toString();
																				cancel_0 = cancel.getText().toString();
																				later_0 = later.getText().toString();
																				install_now_0 = install_now.getText().toString();
																				go_back_0 = go_back.getText().toString();
																				install_update_0 = install_update.getText().toString();
																				main_title.setText(R.string.main_title_16);
																				settings_title.setText(R.string.settings_title_16);
																				about_title.setText(R.string.about_title_16);
																				maintenance.setText(R.string.maintenance_16);
																				maintenance_desc.setText(R.string.maintenance_desc_16);
																				thanks.setText(R.string.thanks_16);
																				language.setText(R.string.language_16);
																				website.setText(R.string.website_16);
																				discord.setText(R.string.discord_16);
																				reddit.setText(R.string.reddit_16);
																				faq.setText(R.string.faq_16);
																				cloned_version.setText(R.string.cloned_version_16);
																				cloned_version_info.setText(R.string.cloned_version_desc_16);
																			    disable_reward_ad.setText(R.string.disable_rewarded_ads_16);
																			    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_16);
																			    installation_failed.setText(R.string.installation_failed_16);
																			    installation_failed_desc.setText(R.string.installation_failed_desc_16);
																			    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_16);
																			    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_16);
																			    existing_patched.setText(R.string.existing_patched_16);
																			    existing_patched_desc.setText(R.string.existing_patched_desc_16);
																			    close.setText(R.string.close_16);
																			    cloned.setText(R.string.cloned_16);
																			    ream.setText(R.string.ream_16);
																			    install.setText(R.string.install_16);
																			    uninstall.setText(R.string.uninstall_16);
																			    ignore.setText(R.string.ignore_16);
																			    delete.setText(R.string.delete_16);
																			    uninstall_patched.setText(R.string.uninstall_patched_16);
																			    open_settings.setText(R.string.open_settings_16);
																			    open_patched.setText(R.string.open_patched_16);
																				installation_failed_0 = installation_failed.getText().toString();
																			    installation_failed_desc_0 = installation_failed_desc.getText().toString();
																			    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
																			    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
																			    existing_patched_0 = existing_patched.getText().toString();
																			    existing_patched_desc_0 = existing_patched_desc.getText().toString();
																			    close_0 = close.getText().toString();
																			    uninstall_0 = uninstall.getText().toString();
																			
																			select_language.setSelection((int)(16));
																		}
																		else {
																			if (LANGUAGE.getString("LANGUAGE", "").equals("17")) {
																				    title_1.setText(R.string.spotify_regular_17);
																					title_2.setText(R.string.spotify_amoled_17);
																					sub_text_installed.setText(R.string.installed_17);
																					sub_text_1.setText(R.string.latest_17);
																					sub_text_3.setText(R.string.latest_17);
																					version_switch_1.setText(R.string.versions_17);
																					version_switch_2.setText(R.string.versions_17);
																					changelogs.setText(R.string.changelogs_17);
																					title_sub.setText(R.string.manager_tools_17);
																					device_cpu.setText(R.string.device_cpu_17);
																					source.setText(R.string.source_17);
																					support.setText(R.string.support_17);
																					donate.setText(R.string.donate_17);
																					about.setText(R.string.about_17);
																					list_auto_refresh.setText(R.string.list_auto_refresh_17);
																					list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_17);
																					force_auto_install.setText(R.string.force_auto_install_17);
																					force_auto_install_info.setText(R.string.force_auto_install_desc_17);
																					copy_url_mode.setText(R.string.copy_url_mode_17);
																					copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_17);
																					navigation_bar.setText(R.string.hide_navigation_bar_17);
																					theme.setText(R.string.show_themes_17);
																					apk_location.setText(R.string.apk_location_17);
																					apk_location_info.setText(R.string.apk_location_desc_17);
																					clear_directory_folders.setText(R.string.clear_directory_folders_17);
																					clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_17);
																					reset_settings.setText(R.string.reset_settings_17);
																					sub_title.setText(R.string.about_sub_17);
																					developer_manager.setText(R.string.xmanager_dev_17);
																					developer_spotify.setText(R.string.spotify_mod_devs_17);
																					support_team.setText(R.string.telegram_support_team_17);
																					mod_testers_1.setText(R.string.manager_testers_17);
																					mod_testers_2.setText(R.string.manager_hosting_17);
																					mobilism_team.setText(R.string.mobilism_team_17);
																					forum_team.setText(R.string.forum_team_17);
																					manager_team.setText(R.string.xspotify_team_17);
																					contributors_1.setText(R.string.contributors_17);
																					download_selected.setText(R.string.download_selected_17);
																					download_ready.setText(R.string.download_ready_17);
																					download_ready_desc.setText(R.string.download_ready_desc_17);
																					downloading_file.setText(R.string.downloading_file_17);
																					download_success.setText(R.string.download_success_17);
																					copy_url_desc.setText(R.string.copy_url_desc_17);
																					new_update.setText(R.string.new_update_17);
																					download_selected_0 = download_selected.getText().toString();
																					download_ready_0 = download_ready.getText().toString();
																					download_ready_desc_0 = download_ready_desc.getText().toString();
																					downloading_file_0 = downloading_file.getText().toString();
																					download_success_0 = download_success.getText().toString();
																					copy_url_desc_0 = copy_url_desc.getText().toString();
																					copy_url.setText(R.string.copy_url_17);
																					continue_1.setText(R.string.continue_1_17);
																					cancel.setText(R.string.cancel_17);
																					download.setText(R.string.download_17);
																					later.setText(R.string.later_17);
																					install_now.setText(R.string.install_now_17);
																					install_update.setText(R.string.install_update_17);
																					go_back.setText(R.string.go_back_17);
																					download_update.setText(R.string.download_update_17);
																					not_now.setText(R.string.not_now_17);
																					show_support.setText(R.string.show_support_17);
																					show_support_desc.setText(R.string.show_support_desc_17);
																					copy_url_0 = copy_url.getText().toString();
																					download_0 = download.getText().toString();
																					continue_0 = continue_1.getText().toString();
																					cancel_0 = cancel.getText().toString();
																					later_0 = later.getText().toString();
																					install_now_0 = install_now.getText().toString();
																					go_back_0 = go_back.getText().toString();
																					install_update_0 = install_update.getText().toString();
																					main_title.setText(R.string.main_title_17);
																					settings_title.setText(R.string.settings_title_17);
																					about_title.setText(R.string.about_title_17);
																					maintenance.setText(R.string.maintenance_17);
																					maintenance_desc.setText(R.string.maintenance_desc_17);
																					thanks.setText(R.string.thanks_17);
																					language.setText(R.string.language_17);
																					website.setText(R.string.website_17);
																					discord.setText(R.string.discord_17);
																					reddit.setText(R.string.reddit_17);
																					faq.setText(R.string.faq_17);
																					cloned_version.setText(R.string.cloned_version_17);
																					cloned_version_info.setText(R.string.cloned_version_desc_17);
																				    disable_reward_ad.setText(R.string.disable_rewarded_ads_17);
																				    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_17);
																				    installation_failed.setText(R.string.installation_failed_17);
																				    installation_failed_desc.setText(R.string.installation_failed_desc_17);
																				    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_17);
																				    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_17);
																				    existing_patched.setText(R.string.existing_patched_17);
																				    existing_patched_desc.setText(R.string.existing_patched_desc_17);
																				    close.setText(R.string.close_17);
																				    cloned.setText(R.string.cloned_17);
																				    ream.setText(R.string.ream_17);
																				    install.setText(R.string.install_17);
																				    uninstall.setText(R.string.uninstall_17);
																				    ignore.setText(R.string.ignore_17);
																				    delete.setText(R.string.delete_17);
																				    uninstall_patched.setText(R.string.uninstall_patched_17);
																				    open_settings.setText(R.string.open_settings_17);
																				    open_patched.setText(R.string.open_patched_17);
																					installation_failed_0 = installation_failed.getText().toString();
																				    installation_failed_desc_0 = installation_failed_desc.getText().toString();
																				    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
																				    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
																				    existing_patched_0 = existing_patched.getText().toString();
																				    existing_patched_desc_0 = existing_patched_desc.getText().toString();
																				    close_0 = close.getText().toString();
																				    uninstall_0 = uninstall.getText().toString();
																				
																				select_language.setSelection((int)(17));
																			}
																			else {
																				if (LANGUAGE.getString("LANGUAGE", "").equals("18")) {
																					    title_1.setText(R.string.spotify_regular_18);
																						title_2.setText(R.string.spotify_amoled_18);
																						sub_text_installed.setText(R.string.installed_18);
																						sub_text_1.setText(R.string.latest_18);
																						sub_text_3.setText(R.string.latest_18);
																						version_switch_1.setText(R.string.versions_18);
																						version_switch_2.setText(R.string.versions_18);
																						changelogs.setText(R.string.changelogs_18);
																						title_sub.setText(R.string.manager_tools_18);
																						device_cpu.setText(R.string.device_cpu_18);
																						source.setText(R.string.source_18);
																						support.setText(R.string.support_18);
																						donate.setText(R.string.donate_18);
																						about.setText(R.string.about_18);
																						list_auto_refresh.setText(R.string.list_auto_refresh_18);
																						list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_18);
																						force_auto_install.setText(R.string.force_auto_install_18);
																						force_auto_install_info.setText(R.string.force_auto_install_desc_18);
																						copy_url_mode.setText(R.string.copy_url_mode_18);
																						copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_18);
																						navigation_bar.setText(R.string.hide_navigation_bar_18);
																						theme.setText(R.string.show_themes_18);
																						apk_location.setText(R.string.apk_location_18);
																						apk_location_info.setText(R.string.apk_location_desc_18);
																						clear_directory_folders.setText(R.string.clear_directory_folders_18);
																						clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_18);
																						reset_settings.setText(R.string.reset_settings_18);
																						sub_title.setText(R.string.about_sub_18);
																						developer_manager.setText(R.string.xmanager_dev_18);
																						developer_spotify.setText(R.string.spotify_mod_devs_18);
																						support_team.setText(R.string.telegram_support_team_18);
																						mod_testers_1.setText(R.string.manager_testers_18);
																						mod_testers_2.setText(R.string.manager_hosting_18);
																						mobilism_team.setText(R.string.mobilism_team_18);
																						forum_team.setText(R.string.forum_team_18);
																						manager_team.setText(R.string.xspotify_team_18);
																						contributors_1.setText(R.string.contributors_18);
																						download_selected.setText(R.string.download_selected_18);
																						download_ready.setText(R.string.download_ready_18);
																						download_ready_desc.setText(R.string.download_ready_desc_18);
																						downloading_file.setText(R.string.downloading_file_18);
																						download_success.setText(R.string.download_success_18);
																						copy_url_desc.setText(R.string.copy_url_desc_18);
																						new_update.setText(R.string.new_update_18);
																						download_selected_0 = download_selected.getText().toString();
																						download_ready_0 = download_ready.getText().toString();
																						download_ready_desc_0 = download_ready_desc.getText().toString();
																						downloading_file_0 = downloading_file.getText().toString();
																						download_success_0 = download_success.getText().toString();
																						copy_url_desc_0 = copy_url_desc.getText().toString();
																						copy_url.setText(R.string.copy_url_18);
																						continue_1.setText(R.string.continue_1_18);
																						cancel.setText(R.string.cancel_18);
																						download.setText(R.string.download_18);
																						later.setText(R.string.later_18);
																						install_now.setText(R.string.install_now_18);
																						install_update.setText(R.string.install_update_18);
																						go_back.setText(R.string.go_back_18);
																						download_update.setText(R.string.download_update_18);
																						not_now.setText(R.string.not_now_18);
																						show_support.setText(R.string.show_support_18);
																						show_support_desc.setText(R.string.show_support_desc_18);
																						copy_url_0 = copy_url.getText().toString();
																						download_0 = download.getText().toString();
																						continue_0 = continue_1.getText().toString();
																						cancel_0 = cancel.getText().toString();
																						later_0 = later.getText().toString();
																						install_now_0 = install_now.getText().toString();
																						go_back_0 = go_back.getText().toString();
																						install_update_0 = install_update.getText().toString();
																						main_title.setText(R.string.main_title_18);
																						settings_title.setText(R.string.settings_title_18);
																						about_title.setText(R.string.about_title_18);
																						maintenance.setText(R.string.maintenance_18);
																						maintenance_desc.setText(R.string.maintenance_desc_18);
																						thanks.setText(R.string.thanks_18);
																						language.setText(R.string.language_18);
																						website.setText(R.string.website_18);
																						discord.setText(R.string.discord_18);
																						reddit.setText(R.string.reddit_18);
																						faq.setText(R.string.faq_18);
																						cloned_version.setText(R.string.cloned_version_18);
																						cloned_version_info.setText(R.string.cloned_version_desc_18);
																					    disable_reward_ad.setText(R.string.disable_rewarded_ads_18);
																					    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_18);
																					    installation_failed.setText(R.string.installation_failed_18);
																					    installation_failed_desc.setText(R.string.installation_failed_desc_18);
																					    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_18);
																					    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_18);
																					    existing_patched.setText(R.string.existing_patched_18);
																					    existing_patched_desc.setText(R.string.existing_patched_desc_18);
																					    close.setText(R.string.close_18);
																					    cloned.setText(R.string.cloned_18);
																					    ream.setText(R.string.ream_18);
																					    install.setText(R.string.install_18);
																					    uninstall.setText(R.string.uninstall_18);
																					    ignore.setText(R.string.ignore_18);
																					    delete.setText(R.string.delete_18);
																					    uninstall_patched.setText(R.string.uninstall_patched_18);
																					    open_settings.setText(R.string.open_settings_18);
																					    open_patched.setText(R.string.open_patched_18);
																						installation_failed_0 = installation_failed.getText().toString();
																					    installation_failed_desc_0 = installation_failed_desc.getText().toString();
																					    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
																					    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
																					    existing_patched_0 = existing_patched.getText().toString();
																					    existing_patched_desc_0 = existing_patched_desc.getText().toString();
																					    close_0 = close.getText().toString();
																					    uninstall_0 = uninstall.getText().toString();
																					
																					select_language.setSelection((int)(18));
																				}
																				else {
																					if (LANGUAGE.getString("LANGUAGE", "").equals("19")) {
																						    title_1.setText(R.string.spotify_regular_19);
																							title_2.setText(R.string.spotify_amoled_19);
																							sub_text_installed.setText(R.string.installed_19);
																							sub_text_1.setText(R.string.latest_19);
																							sub_text_3.setText(R.string.latest_19);
																							version_switch_1.setText(R.string.versions_19);
																							version_switch_2.setText(R.string.versions_19);
																							changelogs.setText(R.string.changelogs_19);
																							title_sub.setText(R.string.manager_tools_19);
																							device_cpu.setText(R.string.device_cpu_19);
																							source.setText(R.string.source_19);
																							support.setText(R.string.support_19);
																							donate.setText(R.string.donate_19);
																							about.setText(R.string.about_19);
																							list_auto_refresh.setText(R.string.list_auto_refresh_19);
																							list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_19);
																							force_auto_install.setText(R.string.force_auto_install_19);
																							force_auto_install_info.setText(R.string.force_auto_install_desc_19);
																							copy_url_mode.setText(R.string.copy_url_mode_19);
																							copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_19);
																							navigation_bar.setText(R.string.hide_navigation_bar_19);
																							theme.setText(R.string.show_themes_19);
																							apk_location.setText(R.string.apk_location_19);
																							apk_location_info.setText(R.string.apk_location_desc_19);
																							clear_directory_folders.setText(R.string.clear_directory_folders_19);
																							clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_19);
																							reset_settings.setText(R.string.reset_settings_19);
																							sub_title.setText(R.string.about_sub_19);
																							developer_manager.setText(R.string.xmanager_dev_19);
																							developer_spotify.setText(R.string.spotify_mod_devs_19);
																							support_team.setText(R.string.telegram_support_team_19);
																							mod_testers_1.setText(R.string.manager_testers_19);
																							mod_testers_2.setText(R.string.manager_hosting_19);
																							mobilism_team.setText(R.string.mobilism_team_19);
																							forum_team.setText(R.string.forum_team_19);
																							manager_team.setText(R.string.xspotify_team_19);
																							contributors_1.setText(R.string.contributors_19);
																							download_selected.setText(R.string.download_selected_19);
																							download_ready.setText(R.string.download_ready_19);
																							download_ready_desc.setText(R.string.download_ready_desc_19);
																							downloading_file.setText(R.string.downloading_file_19);
																							download_success.setText(R.string.download_success_19);
																							copy_url_desc.setText(R.string.copy_url_desc_19);
																							new_update.setText(R.string.new_update_19);
																							download_selected_0 = download_selected.getText().toString();
																							download_ready_0 = download_ready.getText().toString();
																							download_ready_desc_0 = download_ready_desc.getText().toString();
																							downloading_file_0 = downloading_file.getText().toString();
																							download_success_0 = download_success.getText().toString();
																							copy_url_desc_0 = copy_url_desc.getText().toString();
																							copy_url.setText(R.string.copy_url_19);
																							continue_1.setText(R.string.continue_1_19);
																							cancel.setText(R.string.cancel_19);
																							download.setText(R.string.download_19);
																							later.setText(R.string.later_19);
																							install_now.setText(R.string.install_now_19);
																							install_update.setText(R.string.install_update_19);
																							go_back.setText(R.string.go_back_19);
																							download_update.setText(R.string.download_update_19);
																							not_now.setText(R.string.not_now_19);
																							show_support.setText(R.string.show_support_19);
																							show_support_desc.setText(R.string.show_support_desc_19);
																							copy_url_0 = copy_url.getText().toString();
																							download_0 = download.getText().toString();
																							continue_0 = continue_1.getText().toString();
																							cancel_0 = cancel.getText().toString();
																							later_0 = later.getText().toString();
																							install_now_0 = install_now.getText().toString();
																							go_back_0 = go_back.getText().toString();
																							install_update_0 = install_update.getText().toString();
																							main_title.setText(R.string.main_title_19);
																							settings_title.setText(R.string.settings_title_19);
																							about_title.setText(R.string.about_title_19);
																							maintenance.setText(R.string.maintenance_19);
																							maintenance_desc.setText(R.string.maintenance_desc_19);
																							thanks.setText(R.string.thanks_19);
																							language.setText(R.string.language_19);
																							website.setText(R.string.website_19);
																							discord.setText(R.string.discord_19);
																							reddit.setText(R.string.reddit_19);
																							faq.setText(R.string.faq_19);
																							cloned_version.setText(R.string.cloned_version_19);
																							cloned_version_info.setText(R.string.cloned_version_desc_19);
																						    disable_reward_ad.setText(R.string.disable_rewarded_ads_19);
																						    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_19);
																						    installation_failed.setText(R.string.installation_failed_19);
																						    installation_failed_desc.setText(R.string.installation_failed_desc_19);
																						    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_19);
																						    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_19);
																						    existing_patched.setText(R.string.existing_patched_19);
																						    existing_patched_desc.setText(R.string.existing_patched_desc_19);
																						    close.setText(R.string.close_19);
																						    cloned.setText(R.string.cloned_19);
																						    ream.setText(R.string.ream_19);
																						    install.setText(R.string.install_19);
																						    uninstall.setText(R.string.uninstall_19);
																						    ignore.setText(R.string.ignore_19);
																						    delete.setText(R.string.delete_19);
																						    uninstall_patched.setText(R.string.uninstall_patched_19);
																						    open_settings.setText(R.string.open_settings_19);
																						    open_patched.setText(R.string.open_patched_19);
																							installation_failed_0 = installation_failed.getText().toString();
																						    installation_failed_desc_0 = installation_failed_desc.getText().toString();
																						    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
																						    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
																						    existing_patched_0 = existing_patched.getText().toString();
																						    existing_patched_desc_0 = existing_patched_desc.getText().toString();
																						    close_0 = close.getText().toString();
																						    uninstall_0 = uninstall.getText().toString();
																						
																						select_language.setSelection((int)(19));
																					}
																					else {
																						if (LANGUAGE.getString("LANGUAGE", "").equals("20")) {
																							    title_1.setText(R.string.spotify_regular_20);
																								title_2.setText(R.string.spotify_amoled_20);
																								sub_text_installed.setText(R.string.installed_20);
																								sub_text_1.setText(R.string.latest_20);
																								sub_text_3.setText(R.string.latest_20);
																								version_switch_1.setText(R.string.versions_20);
																								version_switch_2.setText(R.string.versions_20);
																								changelogs.setText(R.string.changelogs_20);
																								title_sub.setText(R.string.manager_tools_20);
																								device_cpu.setText(R.string.device_cpu_20);
																								source.setText(R.string.source_20);
																								support.setText(R.string.support_20);
																								donate.setText(R.string.donate_20);
																								about.setText(R.string.about_20);
																								list_auto_refresh.setText(R.string.list_auto_refresh_20);
																								list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_20);
																								force_auto_install.setText(R.string.force_auto_install_20);
																								force_auto_install_info.setText(R.string.force_auto_install_desc_20);
																								copy_url_mode.setText(R.string.copy_url_mode_20);
																								copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_20);
																								navigation_bar.setText(R.string.hide_navigation_bar_20);
																								theme.setText(R.string.show_themes_20);
																								apk_location.setText(R.string.apk_location_20);
																								apk_location_info.setText(R.string.apk_location_desc_20);
																								clear_directory_folders.setText(R.string.clear_directory_folders_20);
																								clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_20);
																								reset_settings.setText(R.string.reset_settings_20);
																								sub_title.setText(R.string.about_sub_20);
																								developer_manager.setText(R.string.xmanager_dev_20);
																								developer_spotify.setText(R.string.spotify_mod_devs_20);
																								support_team.setText(R.string.telegram_support_team_20);
																								mod_testers_1.setText(R.string.manager_testers_20);
																								mod_testers_2.setText(R.string.manager_hosting_20);
																								mobilism_team.setText(R.string.mobilism_team_20);
																								forum_team.setText(R.string.forum_team_20);
																								manager_team.setText(R.string.xspotify_team_20);
																								contributors_1.setText(R.string.contributors_20);
																								download_selected.setText(R.string.download_selected_20);
																								download_ready.setText(R.string.download_ready_20);
																								download_ready_desc.setText(R.string.download_ready_desc_20);
																								downloading_file.setText(R.string.downloading_file_20);
																								download_success.setText(R.string.download_success_20);
																								copy_url_desc.setText(R.string.copy_url_desc_20);
																								new_update.setText(R.string.new_update_20);
																								download_selected_0 = download_selected.getText().toString();
																								download_ready_0 = download_ready.getText().toString();
																								download_ready_desc_0 = download_ready_desc.getText().toString();
																								downloading_file_0 = downloading_file.getText().toString();
																								download_success_0 = download_success.getText().toString();
																								copy_url_desc_0 = copy_url_desc.getText().toString();
																								copy_url.setText(R.string.copy_url_20);
																								continue_1.setText(R.string.continue_1_20);
																								cancel.setText(R.string.cancel_20);
																								download.setText(R.string.download_20);
																								later.setText(R.string.later_20);
																								install_now.setText(R.string.install_now_20);
																								install_update.setText(R.string.install_update_20);
																								go_back.setText(R.string.go_back_20);
																								download_update.setText(R.string.download_update_20);
																								not_now.setText(R.string.not_now_20);
																								show_support.setText(R.string.show_support_20);
																								show_support_desc.setText(R.string.show_support_desc_20);
																								copy_url_0 = copy_url.getText().toString();
																								download_0 = download.getText().toString();
																								continue_0 = continue_1.getText().toString();
																								cancel_0 = cancel.getText().toString();
																								later_0 = later.getText().toString();
																								install_now_0 = install_now.getText().toString();
																								go_back_0 = go_back.getText().toString();
																								install_update_0 = install_update.getText().toString();
																								main_title.setText(R.string.main_title_20);
																								settings_title.setText(R.string.settings_title_20);
																								about_title.setText(R.string.about_title_20);
																								maintenance.setText(R.string.maintenance_20);
																								maintenance_desc.setText(R.string.maintenance_desc_20);
																								thanks.setText(R.string.thanks_20);
																								language.setText(R.string.language_20);
																								website.setText(R.string.website_20);
																								discord.setText(R.string.discord_20);
																								reddit.setText(R.string.reddit_20);
																								faq.setText(R.string.faq_20);
																								cloned_version.setText(R.string.cloned_version_20);
																								cloned_version_info.setText(R.string.cloned_version_desc_20);
																							    disable_reward_ad.setText(R.string.disable_rewarded_ads_20);
																							    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_20);
																							    installation_failed.setText(R.string.installation_failed_20);
																							    installation_failed_desc.setText(R.string.installation_failed_desc_20);
																							    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_20);
																							    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_20);
																							    existing_patched.setText(R.string.existing_patched_20);
																							    existing_patched_desc.setText(R.string.existing_patched_desc_20);
																							    close.setText(R.string.close_20);
																							    cloned.setText(R.string.cloned_20);
																							    ream.setText(R.string.ream_20);
																							    install.setText(R.string.install_20);
																							    uninstall.setText(R.string.uninstall_20);
																							    ignore.setText(R.string.ignore_20);
																							    delete.setText(R.string.delete_20);
																							    uninstall_patched.setText(R.string.uninstall_patched_20);
																							    open_settings.setText(R.string.open_settings_20);
																							    open_patched.setText(R.string.open_patched_20);
																								installation_failed_0 = installation_failed.getText().toString();
																							    installation_failed_desc_0 = installation_failed_desc.getText().toString();
																							    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
																							    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
																							    existing_patched_0 = existing_patched.getText().toString();
																							    existing_patched_desc_0 = existing_patched_desc.getText().toString();
																							    close_0 = close.getText().toString();
																							    uninstall_0 = uninstall.getText().toString();
																							
																							select_language.setSelection((int)(20));
																						}
																						else {
																							if (LANGUAGE.getString("LANGUAGE", "").equals("21")) {
																								    title_1.setText(R.string.spotify_regular_21);
																									title_2.setText(R.string.spotify_amoled_21);
																									sub_text_installed.setText(R.string.installed_21);
																									sub_text_1.setText(R.string.latest_21);
																									sub_text_3.setText(R.string.latest_21);
																									version_switch_1.setText(R.string.versions_21);
																									version_switch_2.setText(R.string.versions_21);
																									changelogs.setText(R.string.changelogs_21);
																									title_sub.setText(R.string.manager_tools_21);
																									device_cpu.setText(R.string.device_cpu_21);
																									source.setText(R.string.source_21);
																									support.setText(R.string.support_21);
																									donate.setText(R.string.donate_21);
																									about.setText(R.string.about_21);
																									list_auto_refresh.setText(R.string.list_auto_refresh_21);
																									list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_21);
																									force_auto_install.setText(R.string.force_auto_install_21);
																									force_auto_install_info.setText(R.string.force_auto_install_desc_21);
																									copy_url_mode.setText(R.string.copy_url_mode_21);
																									copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_21);
																									navigation_bar.setText(R.string.hide_navigation_bar_21);
																									theme.setText(R.string.show_themes_21);
																									apk_location.setText(R.string.apk_location_21);
																									apk_location_info.setText(R.string.apk_location_desc_21);
																									clear_directory_folders.setText(R.string.clear_directory_folders_21);
																									clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_21);
																									reset_settings.setText(R.string.reset_settings_21);
																									sub_title.setText(R.string.about_sub_21);
																									developer_manager.setText(R.string.xmanager_dev_21);
																									developer_spotify.setText(R.string.spotify_mod_devs_21);
																									support_team.setText(R.string.telegram_support_team_21);
																									mod_testers_1.setText(R.string.manager_testers_21);
																									mod_testers_2.setText(R.string.manager_hosting_21);
																									mobilism_team.setText(R.string.mobilism_team_21);
																									forum_team.setText(R.string.forum_team_21);
																									manager_team.setText(R.string.xspotify_team_21);
																									contributors_1.setText(R.string.contributors_21);
																									download_selected.setText(R.string.download_selected_21);
																									download_ready.setText(R.string.download_ready_21);
																									download_ready_desc.setText(R.string.download_ready_desc_21);
																									downloading_file.setText(R.string.downloading_file_21);
																									download_success.setText(R.string.download_success_21);
																									copy_url_desc.setText(R.string.copy_url_desc_21);
																									new_update.setText(R.string.new_update_21);
																									download_selected_0 = download_selected.getText().toString();
																									download_ready_0 = download_ready.getText().toString();
																									download_ready_desc_0 = download_ready_desc.getText().toString();
																									downloading_file_0 = downloading_file.getText().toString();
																									download_success_0 = download_success.getText().toString();
																									copy_url_desc_0 = copy_url_desc.getText().toString();
																									copy_url.setText(R.string.copy_url_21);
																									continue_1.setText(R.string.continue_1_21);
																									cancel.setText(R.string.cancel_21);
																									download.setText(R.string.download_21);
																									later.setText(R.string.later_21);
																									install_now.setText(R.string.install_now_21);
																									install_update.setText(R.string.install_update_21);
																									go_back.setText(R.string.go_back_21);
																									download_update.setText(R.string.download_update_21);
																									not_now.setText(R.string.not_now_21);
																									show_support.setText(R.string.show_support_21);
																									show_support_desc.setText(R.string.show_support_desc_21);
																									copy_url_0 = copy_url.getText().toString();
																									download_0 = download.getText().toString();
																									continue_0 = continue_1.getText().toString();
																									cancel_0 = cancel.getText().toString();
																									later_0 = later.getText().toString();
																									install_now_0 = install_now.getText().toString();
																									go_back_0 = go_back.getText().toString();
																									install_update_0 = install_update.getText().toString();
																									main_title.setText(R.string.main_title_21);
																									settings_title.setText(R.string.settings_title_21);
																									about_title.setText(R.string.about_title_21);
																									maintenance.setText(R.string.maintenance_21);
																									maintenance_desc.setText(R.string.maintenance_desc_21);
																									thanks.setText(R.string.thanks_21);
																									language.setText(R.string.language_21);
																									website.setText(R.string.website_21);
																									discord.setText(R.string.discord_21);
																									reddit.setText(R.string.reddit_21);
																									faq.setText(R.string.faq_21);
																									cloned_version.setText(R.string.cloned_version_21);
																									cloned_version_info.setText(R.string.cloned_version_desc_21);
																								    disable_reward_ad.setText(R.string.disable_rewarded_ads_21);
																								    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_21);
																								    installation_failed.setText(R.string.installation_failed_21);
																								    installation_failed_desc.setText(R.string.installation_failed_desc_21);
																								    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_21);
																								    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_21);
																								    existing_patched.setText(R.string.existing_patched_21);
																								    existing_patched_desc.setText(R.string.existing_patched_desc_21);
																								    close.setText(R.string.close_21);
																								    cloned.setText(R.string.cloned_21);
																								    ream.setText(R.string.ream_21);
																								    install.setText(R.string.install_21);
																								    uninstall.setText(R.string.uninstall_21);
																								    ignore.setText(R.string.ignore_21);
																								    delete.setText(R.string.delete_21);
																								    uninstall_patched.setText(R.string.uninstall_patched_21);
																								    open_settings.setText(R.string.open_settings_21);
																								    open_patched.setText(R.string.open_patched_21);
																									installation_failed_0 = installation_failed.getText().toString();
																								    installation_failed_desc_0 = installation_failed_desc.getText().toString();
																								    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
																								    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
																								    existing_patched_0 = existing_patched.getText().toString();
																								    existing_patched_desc_0 = existing_patched_desc.getText().toString();
																								    close_0 = close.getText().toString();
																								    uninstall_0 = uninstall.getText().toString();
																								
																								select_language.setSelection((int)(21));
																							}
																							else {
																								if (LANGUAGE.getString("LANGUAGE", "").equals("22")) {
																									    title_1.setText(R.string.spotify_regular_22);
																										title_2.setText(R.string.spotify_amoled_22);
																										sub_text_installed.setText(R.string.installed_22);
																										sub_text_1.setText(R.string.latest_22);
																										sub_text_3.setText(R.string.latest_22);
																										version_switch_1.setText(R.string.versions_22);
																										version_switch_2.setText(R.string.versions_22);
																										changelogs.setText(R.string.changelogs_22);
																										title_sub.setText(R.string.manager_tools_22);
																										device_cpu.setText(R.string.device_cpu_22);
																										source.setText(R.string.source_22);
																										support.setText(R.string.support_22);
																										donate.setText(R.string.donate_22);
																										about.setText(R.string.about_22);
																										list_auto_refresh.setText(R.string.list_auto_refresh_22);
																										list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_22);
																										force_auto_install.setText(R.string.force_auto_install_22);
																										force_auto_install_info.setText(R.string.force_auto_install_desc_22);
																										copy_url_mode.setText(R.string.copy_url_mode_22);
																										copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_22);
																										navigation_bar.setText(R.string.hide_navigation_bar_22);
																										theme.setText(R.string.show_themes_22);
																										apk_location.setText(R.string.apk_location_22);
																										apk_location_info.setText(R.string.apk_location_desc_22);
																										clear_directory_folders.setText(R.string.clear_directory_folders_22);
																										clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_22);
																										reset_settings.setText(R.string.reset_settings_22);
																										sub_title.setText(R.string.about_sub_22);
																										developer_manager.setText(R.string.xmanager_dev_22);
																										developer_spotify.setText(R.string.spotify_mod_devs_22);
																										support_team.setText(R.string.telegram_support_team_22);
																										mod_testers_1.setText(R.string.manager_testers_22);
																										mod_testers_2.setText(R.string.manager_hosting_22);
																										mobilism_team.setText(R.string.mobilism_team_22);
																										forum_team.setText(R.string.forum_team_22);
																										manager_team.setText(R.string.xspotify_team_22);
																										contributors_1.setText(R.string.contributors_22);
																										download_selected.setText(R.string.download_selected_22);
																										download_ready.setText(R.string.download_ready_22);
																										download_ready_desc.setText(R.string.download_ready_desc_22);
																										downloading_file.setText(R.string.downloading_file_22);
																										download_success.setText(R.string.download_success_22);
																										copy_url_desc.setText(R.string.copy_url_desc_22);
																										new_update.setText(R.string.new_update_22);
																										download_selected_0 = download_selected.getText().toString();
																										download_ready_0 = download_ready.getText().toString();
																										download_ready_desc_0 = download_ready_desc.getText().toString();
																										downloading_file_0 = downloading_file.getText().toString();
																										download_success_0 = download_success.getText().toString();
																										copy_url_desc_0 = copy_url_desc.getText().toString();
																										copy_url.setText(R.string.copy_url_22);
																										continue_1.setText(R.string.continue_1_22);
																										cancel.setText(R.string.cancel_22);
																										download.setText(R.string.download_22);
																										later.setText(R.string.later_22);
																										install_now.setText(R.string.install_now_22);
																										install_update.setText(R.string.install_update_22);
																										go_back.setText(R.string.go_back_22);
																										download_update.setText(R.string.download_update_22);
																										not_now.setText(R.string.not_now_22);
																										show_support.setText(R.string.show_support_22);
																										show_support_desc.setText(R.string.show_support_desc_22);
																										copy_url_0 = copy_url.getText().toString();
																										download_0 = download.getText().toString();
																										continue_0 = continue_1.getText().toString();
																										cancel_0 = cancel.getText().toString();
																										later_0 = later.getText().toString();
																										install_now_0 = install_now.getText().toString();
																										go_back_0 = go_back.getText().toString();
																										install_update_0 = install_update.getText().toString();
																										main_title.setText(R.string.main_title_22);
																										settings_title.setText(R.string.settings_title_22);
																										about_title.setText(R.string.about_title_22);
																										maintenance.setText(R.string.maintenance_22);
																										maintenance_desc.setText(R.string.maintenance_desc_22);
																										thanks.setText(R.string.thanks_22);
																										language.setText(R.string.language_22);
																										website.setText(R.string.website_22);
																										discord.setText(R.string.discord_22);
																										reddit.setText(R.string.reddit_22);
																										faq.setText(R.string.faq_22);
																										cloned_version.setText(R.string.cloned_version_22);
																										cloned_version_info.setText(R.string.cloned_version_desc_22);
																									    disable_reward_ad.setText(R.string.disable_rewarded_ads_22);
																									    disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_22);
																									    installation_failed.setText(R.string.installation_failed_22);
																									    installation_failed_desc.setText(R.string.installation_failed_desc_22);
																									    installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_22);
																									    installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_22);
																									    existing_patched.setText(R.string.existing_patched_22);
																									    existing_patched_desc.setText(R.string.existing_patched_desc_22);
																									    close.setText(R.string.close_22);
																									    cloned.setText(R.string.cloned_22);
																									    ream.setText(R.string.ream_22);
																									    install.setText(R.string.install_22);
																									    uninstall.setText(R.string.uninstall_22);
																									    ignore.setText(R.string.ignore_22);
																									    delete.setText(R.string.delete_22);
																									    uninstall_patched.setText(R.string.uninstall_patched_22);
																									    open_settings.setText(R.string.open_settings_22);
																									    open_patched.setText(R.string.open_patched_22);
																										installation_failed_0 = installation_failed.getText().toString();
																									    installation_failed_desc_0 = installation_failed_desc.getText().toString();
																									    installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
																									    installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
																									    existing_patched_0 = existing_patched.getText().toString();
																									    existing_patched_desc_0 = existing_patched_desc.getText().toString();
																									    close_0 = close.getText().toString();
																									    uninstall_0 = uninstall.getText().toString();
																									
																									select_language.setSelection((int)(22));
																								}
																							}
																						}
																					}
																				}
																			}
																		}
																	}
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
	
	
	public void _Language_Pack() {
		Language.add("English (Default)");
		Language.add("Bengali");
		Language.add("Chinese (Simplified)");
		Language.add("French");
		Language.add("Greek");
		Language.add("Indonesian");
		Language.add("Italian");
		Language.add("Polish");
		Language.add("Portuguese (Brazil)");
		Language.add("Portuguese (Portugal)");
		Language.add("Russian");
		Language.add("Spanish");
		Language.add("Ukranian");
		Language.add("Turkish");
		Language.add("Arabic");
		Language.add("Slovenian");
		Language.add("Romanian");
		Language.add("Korean");
		Language.add("Dutch");
		Language.add("Vietnamese");
		Language.add("German");
		Language.add("Persian");
		Language.add("Hebrew");
		select_language.setAdapter(new ArrayAdapter<String>(getBaseContext(), android.R.layout.simple_spinner_dropdown_item, Language));
		((ArrayAdapter)select_language.getAdapter()).notifyDataSetChanged();
		select_language.setAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, android.R.id.text1, Language) {
			
			@Override
			public View getView(int position, View convertView, ViewGroup parent) {
				TextView textViewv = (TextView) super.getView(position, convertView, parent);
				textViewv.setTextColor(Color.parseColor("#FFFFFF"));
				return textViewv; }
			
			@Override
			public View getDropDownView(int position, View convertView, ViewGroup parent) {
				TextView textViewv = (TextView) super.getDropDownView(position, convertView, parent); textViewv.setTextColor(Color.parseColor("#FFFFFF"));
				textViewv.setBackgroundColor(Color.parseColor("#212121"));
				
				
				return textViewv; }
		});
	}
	
	
	public void _Theme_Pack() {
		Theme.add("Black (Default)");
		Theme.add("Green");
		Theme.add("Purple");
		Theme.add("Red");
		Theme.add("Blue");
		Theme.add("Orange");
		Theme.add("Yellow");
		Theme.add("Grey");
		Theme.add("Blue Grey");
		Theme.add("Pink");
		Theme.add("Cyan");
		Theme.add("White");
		Theme.add("Brown");
		Theme.add("Indigo");
		select_theme.setAdapter(new ArrayAdapter<String>(getBaseContext(), android.R.layout.simple_spinner_dropdown_item, Theme));
		((ArrayAdapter)select_theme.getAdapter()).notifyDataSetChanged();
		select_theme.setAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, android.R.id.text1, Theme) {
			
			@Override
			public View getView(int position, View convertView, ViewGroup parent) {
				TextView textViewv = (TextView) super.getView(position, convertView, parent);
				textViewv.setTextColor(Color.parseColor("#FFFFFF"));
				return textViewv; }
			
			@Override
			public View getDropDownView(int position, View convertView, ViewGroup parent) {
				TextView textViewv = (TextView) super.getDropDownView(position, convertView, parent); textViewv.setTextColor(Color.parseColor("#FFFFFF"));
				textViewv.setBackgroundColor(Color.parseColor("#212121"));
				
				
				return textViewv; }
		});
	}
	
	
	public void _Language_Fixer() {
		title_1.setText(R.string.spotify_regular);
		title_2.setText(R.string.spotify_amoled);
		sub_text_installed.setText(R.string.installed);
		sub_text_1.setText(R.string.latest);
		sub_text_3.setText(R.string.latest);
		version_switch_1.setText(R.string.versions);
		version_switch_2.setText(R.string.versions);
		changelogs.setText(R.string.changelogs);
		title_sub.setText(R.string.manager_tools);
		device_cpu.setText(R.string.device_cpu);
		source.setText(R.string.source);
		support.setText(R.string.support);
		donate.setText(R.string.donate);
		discord.setText(R.string.discord);
		about.setText(R.string.about);
		list_auto_refresh.setText(R.string.list_auto_refresh);
		list_auto_refresh_info.setText(R.string.list_auto_refresh_desc);
		force_auto_install.setText(R.string.force_auto_install);
		force_auto_install_info.setText(R.string.force_auto_install_desc);
		copy_url_mode.setText(R.string.copy_url_mode);
		copy_file_url_mode_info.setText(R.string.copy_url_mode_desc);
		navigation_bar.setText(R.string.hide_navigation_bar);
		theme.setText(R.string.show_themes);
		apk_location.setText(R.string.apk_location);
		apk_location_info.setText(R.string.apk_location_desc);
		clear_directory_folders.setText(R.string.clear_directory_folders);
		clear_directory_folders_info.setText(R.string.clear_directory_folders_desc);
		reset_settings.setText(R.string.reset_settings);
		cloned_version.setText(R.string.cloned_version);
		cloned_version_info.setText(R.string.cloned_version_desc);
		disable_reward_ad.setText(R.string.disable_rewarded_ads);
		disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc);
		sub_title.setText(R.string.about_sub);
		developer_manager.setText(R.string.xmanager_dev);
		developer_spotify.setText(R.string.spotify_mod_devs);
		support_team.setText(R.string.telegram_support_team);
		mod_testers_1.setText(R.string.manager_testers);
		mod_testers_2.setText(R.string.manager_hosting);
		mobilism_team.setText(R.string.mobilism_team);
		forum_team.setText(R.string.forum_team);
		manager_team.setText(R.string.xspotify_team);
		contributors_1.setText(R.string.contributors);
		download_selected.setText(R.string.download_selected);
		download_ready.setText(R.string.download_ready);
		download_ready_desc.setText(R.string.download_ready_desc);
		downloading_file.setText(R.string.downloading_file);
		download_success.setText(R.string.download_success);
		copy_url_desc.setText(R.string.copy_url_desc);
		new_update.setText(R.string.new_update);
		installation_failed_0 = installation_failed.getText().toString();
		installation_failed_desc_0 = installation_failed_desc.getText().toString();
		installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString();
		installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString();
		existing_patched_0 = existing_patched.getText().toString();
		existing_patched_desc_0 = existing_patched_desc.getText().toString();
		download_selected_0 = download_selected.getText().toString();
		download_ready_0 = download_ready.getText().toString();
		download_ready_desc_0 = download_ready_desc.getText().toString();
		downloading_file_0 = downloading_file.getText().toString();
		download_success_0 = download_success.getText().toString();
		copy_url_desc_0 = copy_url_desc.getText().toString();
		copy_url.setText(R.string.copy_url);
		continue_1.setText(R.string.continue_1);
		cancel.setText(R.string.cancel);
		download.setText(R.string.download);
		later.setText(R.string.later);
		install_now.setText(R.string.install_now);
		install_update.setText(R.string.install_update);
		go_back.setText(R.string.go_back);
		download_update.setText(R.string.download_update);
		not_now.setText(R.string.not_now);
		show_support.setText(R.string.show_support);
		show_support_desc.setText(R.string.show_support_desc);
		copy_url_0 = copy_url.getText().toString();
		download_0 = download.getText().toString();
		continue_0 = continue_1.getText().toString();
		cancel_0 = cancel.getText().toString();
		later_0 = later.getText().toString();
		install_now_0 = install_now.getText().toString();
		go_back_0 = go_back.getText().toString();
		install_update_0 = install_update.getText().toString();
		close_0 = close.getText().toString();
		uninstall_0 = uninstall.getText().toString();
		close.setText(R.string.close);
		cloned.setText(R.string.cloned);
		ream.setText(R.string.ream);
		install.setText(R.string.install);
		uninstall.setText(R.string.uninstall);
		ignore.setText(R.string.ignore);
		delete.setText(R.string.delete);
		uninstall_patched.setText(R.string.uninstall_patched);
		open_settings.setText(R.string.open_settings);
		open_patched.setText(R.string.open_patched);
		main_title.setText(R.string.main_title);
		settings_title.setText(R.string.settings_title);
		about_title.setText(R.string.about_title);
		maintenance.setText(R.string.maintenance);
		maintenance_desc.setText(R.string.maintenance_desc);
		thanks.setText(R.string.thanks);
		language.setText(R.string.language);
		website.setText(R.string.website);
		reddit.setText(R.string.reddit);
		faq.setText(R.string.faq);
	}
	
	
	public void _Browser(final String _String_Text) {
		androidx.browser.customtabs.CustomTabsIntent.Builder builder = new androidx.browser.customtabs.CustomTabsIntent.Builder();
		androidx.browser.customtabs.CustomTabsIntent customTabsIntent = builder.build();
		customTabsIntent.launchUrl(getCurrentContext(this), Uri.parse(_String_Text));
		
	} public Context getCurrentContext(Context c) {
		return c;
		
	} public Context getCurrentContext(Fragment c) {
		return c.getActivity();
		
	} public Context getCurrentContext(DialogFragment c) {
		return c.getActivity();
		
	}
	
	{
	}
	
	
	public void _Gate_Keeper() {
		
		
	}
	
	
	public void _Extra() {
		Timer = new TimerTask() {
			@Override
			public void run() {
				runOnUiThread(new Runnable() {
					@Override
					public void run() {
						Timer = new TimerTask() {
							@Override
							public void run() {
								runOnUiThread(new Runnable() {
									@Override
									public void run() {
										Animation animation;
										animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
										animation.setDuration(500); title_header_beta.startAnimation(animation);
										animation = null;
										title_header_beta.setText("NEW FEATURES");
									}
								});
							}
						};
						_timer.schedule(Timer, (int)(3000));
						Timer = new TimerTask() {
							@Override
							public void run() {
								runOnUiThread(new Runnable() {
									@Override
									public void run() {
										Animation animation;
										animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
										animation.setDuration(500); title_header_beta.startAnimation(animation);
										animation = null;
										title_header_beta.setText("FREEDOM");
									}
								});
							}
						};
						_timer.schedule(Timer, (int)(6000));
						Timer = new TimerTask() {
							@Override
							public void run() {
								runOnUiThread(new Runnable() {
									@Override
									public void run() {
										Animation animation;
										animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
										animation.setDuration(500); title_header_beta.startAnimation(animation);
										animation = null;
										title_header_beta.setText("AD-FREE");
									}
								});
							}
						};
						_timer.schedule(Timer, (int)(9000));
					}
				});
			}
		};
		_timer.scheduleAtFixedRate(Timer, (int)(0), (int)(9000));
	}
	
	
	public void _Animation_3() {
		Animation a;
		a = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		a.setDuration(200); main_box_1.startAnimation(a);
		a = null;
		Animation b;
		b = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		b.setDuration(300); main_box_2.startAnimation(b);
		b = null;
		Animation c;
		c = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		c.setDuration(400); main_box_6.startAnimation(c);
		c = null;
		Animation d;
		d = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		d.setDuration(500); box_sub_header.startAnimation(d);
		d = null;
		Animation e;
		e = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		e.setDuration(600); main_box_4.startAnimation(e);
		e = null;
		Animation f;
		f = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		f.setDuration(700); main_box_15.startAnimation(f);
		f = null;
	}
	
	
	public void _Scroll_Fixed() {
		list_menu_1.setOnScrollListener(new AbsListView.OnScrollListener() { @Override public void onScrollStateChanged(AbsListView view, int scrollState) { } @Override public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { int topRowVerticalPosition = (list_menu_1 == null || list_menu_1.getChildCount() == 0) ? 0 : list_menu_1.getChildAt(0).getTop(); main_refresh_layout.setEnabled(firstVisibleItem == 0 && topRowVerticalPosition >= 0); } });
		list_menu_2.setOnScrollListener(new AbsListView.OnScrollListener() { @Override public void onScrollStateChanged(AbsListView view, int scrollState) { } @Override public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { int topRowVerticalPosition = (list_menu_2 == null || list_menu_2.getChildCount() == 0) ? 0 : list_menu_2.getChildAt(0).getTop(); main_refresh_layout.setEnabled(firstVisibleItem == 0 && topRowVerticalPosition >= 0); } });
		list_changelogs.setOnScrollListener(new AbsListView.OnScrollListener() { @Override public void onScrollStateChanged(AbsListView view, int scrollState) { } @Override public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { int topRowVerticalPosition = (list_changelogs == null || list_changelogs.getChildCount() == 0) ? 0 : list_changelogs.getChildAt(0).getTop(); main_refresh_layout.setEnabled(firstVisibleItem == 0 && topRowVerticalPosition >= 0); } });
	}
	
	
	public void _Tap_Animation(final View _Linear) {
		ScaleAnimation fade_in = new
		ScaleAnimation(0.9f, 1f, 0.9f, 1f, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.7f);
		fade_in.setDuration(100);
		fade_in.setFillAfter(true);
		_Linear.startAnimation(fade_in);
	}
	
	
	public void _Storage_Permission() {
		if (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_EXTERNAL_STORAGE) == PackageManager.PERMISSION_DENIED
		|| ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_DENIED) {
				final AlertDialog.Builder Permission_v1 = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
				String Title = "<b>".concat("PERMISSION REQUIRED".concat("</b>"));
				String TitleColor = "FF5722";
				Permission_v1.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
				String Message = "xManager needs the storage permission to utilize the APK Location feature and to save the downloaded patched within that folder.";
				String MessageColor = "FFFFFF";
				Permission_v1.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
				Permission_v1.setPositiveButton("Understood", new DialogInterface.OnClickListener(){
						@Override
						public void onClick(DialogInterface Permission_v1, int p) {
								AlertDialog.setCancelable(true);
								try {
										requestReadExternalStorage();
								} catch (Exception e) {		
								}
						}
				});
				AlertDialog = Permission_v1.create();
				AlertDialog.setCancelable(false);
				AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
				AlertDialog.show();
		}else{
				final AlertDialog.Builder Permission_v1 = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
				AlertDialog = Permission_v1.create();
				AlertDialog.dismiss();
		}
	}
	public void requestReadExternalStorage() {
		ActivityCompat.requestPermissions(this, new String[] {Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE}, 1000);
	}
	@Override
	public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
		super.onRequestPermissionsResult(requestCode, permissions, grantResults);
		if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
				if (SDK_INT >= Build.VERSION_CODES.R) {
						_External_Storage();
				}else{
						try {
								final AlertDialog.Builder Permission_v1 = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
								AlertDialog = Permission_v1.create();
								AlertDialog.dismiss();
								SketchwareUtil.showMessage(getApplicationContext(), "Permission Granted");
						} catch (Exception e) {	
						}
				}
		} else {
				final AlertDialog.Builder Permission_v2 = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
				String Message = "Since you did not allow the storage permission, you will need to manually enable it.";
				String MessageColor = "FFFFFF";
				Permission_v2.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
				Permission_v2.setPositiveButton("Open Settings", new DialogInterface.OnClickListener(){
						@Override
						public void onClick(DialogInterface Permission_v2, int p) {
								AlertDialog.setCancelable(true);
								if (SDK_INT >= Build.VERSION_CODES.R) {
										try {
												Intent intent = new Intent(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
												intent.addCategory("android.intent.category.DEFAULT");
												intent.setData(Uri.parse(String.format("package:%s",getApplicationContext().getPackageName())));
												startActivityForResult(intent, 1000);
										} catch (Exception e) {
												Intent intent = new Intent();
												intent.setAction(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
												startActivityForResult(intent, 1000);
										}
								}
								if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
										final AlertDialog.Builder Permission_v1 = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
										AlertDialog = Permission_v1.create();
										AlertDialog.dismiss();
								}else{
										final AlertDialog.Builder Permission_v1 = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
										String Title = "<b>".concat("PERMISSION REQUIRED".concat("</b>"));
										String TitleColor = "FF5722";
										Permission_v1.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
										String Message = "xManager needs the storage permission to utilize the APK Location feature and to save the downloaded patched within that folder.";
										String MessageColor = "FFFFFF";
										Permission_v1.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
										Permission_v1.setPositiveButton("Understood", new DialogInterface.OnClickListener(){
												@Override
												public void onClick(DialogInterface Permission_v1, int p) {
														AlertDialog.setCancelable(true);
														requestReadExternalStorage();
												}
										});
										AlertDialog = Permission_v1.create();
										AlertDialog.setCancelable(false);
										AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
										AlertDialog.show();
								}
						}
				});
				try {
						AlertDialog = Permission_v2.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
						SketchwareUtil.showMessage(getApplicationContext(), "Permission Denied");
				} catch (Exception e) {
				}
		}
		
	}
	
	
	public void _Signature_Checker() {
	}
	public String getISignature(Context context) {
		try {
				android.content.pm.PackageInfo packageInfo = context.getPackageManager().getPackageInfo("com.spotify.music", PackageManager.GET_SIGNATURES);
				for (android.content.pm.Signature signature : packageInfo.signatures) {
						String i_sha1 = geti_SHA1_(signature.toByteArray());
						return i_sha1;
				}
		} catch (android.content.pm.PackageManager.NameNotFoundException e) {
		}
		return "";
	}
	
	public String geti_SHA1_(byte[] sig) {
		try {
				java.security.MessageDigest digest = java.security.MessageDigest.getInstance("SHA1");
				digest.update(sig);
				byte[] hashtext = digest.digest();
				return i_bytes_To_Hex_(hashtext);
		} catch (java.security.NoSuchAlgorithmException e) {
		}
		return "";
	}
	
	public String i_bytes_To_Hex_(byte[] bytes) {
		final char[] hexArray = { '0', '1', '2', '3', '4', '5', '6', '7', '8',
				'9', 'A', 'B', 'C', 'D', 'E', 'F' };
		char[] hexChars = new char[bytes.length * 2];
		int v;
		for (int j = 0; j < bytes.length; j++) {
				v = bytes[j] & 0xFF;
				hexChars[j * 2] = hexArray[v >>> 4];
				hexChars[j * 2 + 1] = hexArray[v & 0x0F];
		}
		return new String(hexChars);
	}
	{
		
		
	}
	public String getDSignature(Context context) {
		try {
				android.content.pm.PackageInfo packageArchiveInfo = context.getPackageManager().getPackageArchiveInfo(apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"), PackageManager.GET_SIGNATURES);
				for (android.content.pm.Signature signature : packageArchiveInfo.signatures) {
						String d_sha1 = getd_SHA1_(signature.toByteArray());
						return d_sha1;
				}
		} catch (Exception e) {
		}
		return "";
	}
	
	public String getd_SHA1_(byte[] sig) {
		try {
				java.security.MessageDigest digest = java.security.MessageDigest.getInstance("SHA1");
				digest.update(sig);
				byte[] hashtext = digest.digest();
				return d_bytes_To_Hex_(hashtext);
		} catch (java.security.NoSuchAlgorithmException e) {
		}
		return "";
	}
	
	public String d_bytes_To_Hex_(byte[] bytes) {
		final char[] hexArray = { '0', '1', '2', '3', '4', '5', '6', '7', '8',
				'9', 'A', 'B', 'C', 'D', 'E', 'F' };
		char[] hexChars = new char[bytes.length * 2];
		int v;
		for (int j = 0; j < bytes.length; j++) {
				v = bytes[j] & 0xFF;
				hexChars[j * 2] = hexArray[v >>> 4];
				hexChars[j * 2 + 1] = hexArray[v & 0x0F];
		}
		return new String(hexChars);
	}
	{
		
	}
	
	
	public void _Download_Cloned(final String _url, final String _path) {
		try {
			FileUtil.makeDir(FileUtil.getPackageDataDir(getApplicationContext()));
			
			android.net.ConnectivityManager connMgr = (android.net.ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
			android.net.NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();
			if (networkInfo != null && networkInfo.isConnected()) {
					final String urlDownload = _url;
					DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
					final String fileName = URLUtil.guessFileName(urlDownload, null, null);
					request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
					request.setMimeType("application/vnd.android.package-archive");
					request.allowScanningByMediaScanner();
					request.setDestinationInExternalFilesDir(this,Environment.DIRECTORY_DOWNLOADS, "Spotify Mod (Official) [Cloned].apk");
					final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
					final long downloadId = manager.enqueue(request);
					final ProgressDialog prog = new ProgressDialog(MainActivity.this, R.style.Progress_Dialog);
					prog.setMax(100);
					prog.setIndeterminate(false);
					prog.setCancelable(false);
					prog.setCanceledOnTouchOutside(false);
					prog.setTitle(downloading_file_0);
					new Thread(new Runnable() {
							@Override
							public void run() {
									boolean downloading = true;
									while (downloading) {
											DownloadManager.Query q = new DownloadManager.Query();
											q.setFilterById(downloadId);
											android.database.Cursor cursor = manager.query(q);
											if (cursor != null) { 
													if (cursor.moveToFirst()) {
															int bytes_downloaded = cursor.getInt(cursor .getColumnIndex(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR));
															int bytes_total = cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_TOTAL_SIZE_BYTES));
															if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_SUCCESSFUL) {
																	downloading = false;
															}
															if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_FAILED) {
																	runOnUiThread(new Runnable() {
																			public void run() { 
																					SketchwareUtil.showMessage(getApplicationContext(), "The file or link is currently unavailable. Please try again later.");
																					_File_Remover();
																			}
																	});
																	try {
																			prog.cancel();
																			break;
																	} catch (Exception e) {
																	}
															}
															final int dl_progress = (int) (bytes_total != 0 ? (bytes_downloaded * 100l) / bytes_total : 0) ;
															final int dl_max = (int) (100);
															final float file_front = (float) ((bytes_downloaded * 1.0) / 1048576.0);
															final float file_end = (float) ((bytes_total * 1.0) / 1048576.0);
															String file_min = String.format("%.2f", file_front);
															String file_fix = String.format("%.2f", file_end);
															String file_max = file_fix.replace("-", "");
															runOnUiThread(new Runnable() {
																	@Override
																	public void run() {
																			if (!MainActivity.this.isFinishing()) {
																					prog.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
																					String Title = "<b>".concat(downloading_file_0.concat("</b>"));
																					String TitleColor = "1DB954";
																					prog.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																					prog.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
																					prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
																					prog.setProgressNumberFormat((file_min) + " MB" + " | " + (file_max) + " MB");
																					prog.setProgress(dl_progress);
																					prog.setMax(dl_max);
																					prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
																							@Override
																							public void onClick(DialogInterface dialog, int which) {
																									manager.remove(downloadId);
																									Timer = new TimerTask() {
																											@Override
																											public void run() {
																													runOnUiThread(new Runnable() {
																															@Override
																															public void run() {
																																	try {
																																			_Hide_Navigation();
																																			_File_Remover();
																																			prog.cancel();
																																	} catch (Exception e) {
																																	}
																															}
																													});
																											}
																									};
																									_timer.schedule(Timer, (int)(0));
																							}
																					});
																					prog.show();
																			}
																			if (bytes_downloaded == bytes_total) {
																					Timer = new TimerTask() {
																							@Override
																							public void run() {
																									runOnUiThread(new Runnable() {
																											@Override
																											public void run() {	
																													try {
																															FileUtil.copyFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk", apk_path_location.getText().toString().concat("Spotify Mod (Official) [Cloned].apk"));
																													}
																													catch(Exception e) {
																													}
																													if (!MainActivity.this.isFinishing()) {
																															final AlertDialog.Builder Success_Download = new AlertDialog.Builder(MainActivity.this, R.style.Other_Dialog);
																															String Title = "<b>".concat(download_success_0.concat("</b>"));
																															String TitleColor = "1DB954";
																															Success_Download.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																															Success_Download.setPositiveButton(install_now_0, new DialogInterface.OnClickListener(){
																																	@Override
																																	public void onClick(DialogInterface Success_Download, int p) {
																																			AlertDialog.setCancelable(true);
																																			prog.cancel();
																																			version_switch_01.setChecked(false);
																																			version_switch_02.setChecked(false);
																																			changelogs_switch.setChecked(false);
																																			if ((Installed_Version_Cloned < Downloaded_Version_Cloned) || ((Downloaded_Version_Cloned > Installed_Version_Cloned) || ((Installed_Version_Cloned == Downloaded_Version_Cloned) || Installed_Checker_Cloned.equals("false")))) {
																																					if (getICSignature(getApplicationContext()).equals(getDCSignature(getApplicationContext())) || Installed_Checker_Cloned.equals("false")) {
																																							StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
																																							if(android.os.Build.VERSION.SDK_INT >= 29){
																																									try {
																																											Intent intent = new Intent(Intent.ACTION_VIEW);
																																											intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
																																											intent.setDataAndType(FileProvider.getUriForFile(MainActivity.this, "com.xc3fff0e.xmanager.provider", new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")), "application/vnd.android.package-archive");
																																											startActivity(intent);
																																									}
																																									catch(Exception e) {
																																									}
																																							} else {
																																									try {
																																											Intent intent = new Intent(Intent.ACTION_VIEW);
																																											intent.setDataAndType(Uri.fromFile(new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")), "application/vnd.android.package-archive");
																																											startActivity(intent);
																																											Timer = new TimerTask() {
																																													@Override
																																													public void run() {
																																															runOnUiThread(new Runnable() {
																																																	@Override
																																																	public void run() {
																																																			_Hide_Navigation();
																																																	}
																																															});
																																													}
																																											};
																																											_timer.schedule(Timer, (int)(100));
																																									}
																																									catch(Exception e) {
																																									}
																																							} 
																																					} else {
																																							if (!MainActivity.this.isFinishing()) {
																																									final AlertDialog.Builder Signature_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
																																									String Title = "<b>".concat(installation_failed_0.concat("</b>"));
																																									String TitleColor = "1DB954";
																																									Signature_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																																									String Message = installation_failed_cloned_desc_0.replace("\n", "<br/>");
																																									String MessageColor = "FFFFFF";
																																									Signature_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
																																									Signature_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																																											@Override
																																											public void onClick(DialogInterface Signature_Check, int p) {
																																													_Hide_Navigation();
																																													AlertDialog.setCancelable(true);
																																													try {
																																															Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.musix")); 
																																															startActivity(intent);
																																													}
																																													catch(Exception e) {
																																													}
																																											}
																																									});
																																									Signature_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																																											@Override
																																											public void onClick(DialogInterface Signature_Check, int p) {
																																													_Hide_Navigation();
																																													AlertDialog.setCancelable(true);
																																											}
																																									});
																																									AlertDialog = Signature_Check.create();
																																									AlertDialog.setCancelable(false);
																																									AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
																																									AlertDialog.show();
																																							}
																																					}	
																																			}
																																			else {
																																					if (!MainActivity.this.isFinishing()) {
																																							if (Downloaded_Version_Cloned < Installed_Version_Cloned) {
																																									final AlertDialog.Builder Downgrade_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
																																									String Title = "<b>".concat(installation_failed_0.concat("</b>"));
																																									String TitleColor = "1DB954";
																																									Downgrade_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																																									String Message = installation_failed_desc_0.replace("\n", "<br/>");
																																									String MessageColor = "FFFFFF";
																																									Downgrade_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
																																									Downgrade_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																																											@Override
																																											public void onClick(DialogInterface Downgrade_Check, int p) {
																																													_Hide_Navigation();
																																													AlertDialog.setCancelable(true);
																																													try {
																																															Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.musix")); 
																																															startActivity(intent);
																																													}
																																													catch(Exception e) {
																																													}
																																											}
																																									});
																																									Downgrade_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																																											@Override
																																											public void onClick(DialogInterface Downgrade_Check, int p) {
																																													_Hide_Navigation();
																																													AlertDialog.setCancelable(true);
																																											}
																																									});
																																									AlertDialog = Downgrade_Check.create();
																																									AlertDialog.setCancelable(false);
																																									AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
																																									AlertDialog.show();
																																							}
																																					}
																																			}
																																	}
																															});
																															Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener(){
																																	@Override
																																	public void onClick(DialogInterface Success_Download, int p) {
																																			AlertDialog.setCancelable(true);
																																			Timer = new TimerTask() {
																																					@Override
																																					public void run() {
																																							runOnUiThread(new Runnable() {
																																									@Override
																																									public void run() {
																																											_Hide_Navigation();
																																									}
																																							});
																																					}
																																			};
																																			_timer.schedule(Timer, (int)(100));
																																	}
																															});
																															AlertDialog = Success_Download.create();
																															AlertDialog.setCancelable(false);
																															AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
																															AlertDialog.show();
																													}
																													prog.cancel();
																											}
																									});
																							}
																					};
																					_timer.schedule(Timer, (int)(1500));
																			}
																	} });
													}
													cursor.close();
											}
									} } }).start();
			} else {
					com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Slow or no internet connection. Try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
			}
			
		}
		catch(Exception e) {
		}
	}
	
	
	public void _Download_Install_Cloned(final String _url, final String _path) {
		try {
			FileUtil.makeDir(FileUtil.getPackageDataDir(getApplicationContext()));
			
			android.net.ConnectivityManager connMgr = (android.net.ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
			android.net.NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();
			if (networkInfo != null && networkInfo.isConnected()) {
					final String urlDownload = _url;
					DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
					final String fileName = URLUtil.guessFileName(urlDownload, null, null);
					request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
					request.setMimeType("application/vnd.android.package-archive");
					request.allowScanningByMediaScanner();
					request.setDestinationInExternalFilesDir(this,Environment.DIRECTORY_DOWNLOADS, "Spotify Mod (Official) [Cloned].apk");
					final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
					final long downloadId = manager.enqueue(request);
					final ProgressDialog prog = new ProgressDialog(MainActivity.this, R.style.Progress_Dialog);
					prog.setMax(100);
					prog.setIndeterminate(false);
					prog.setCancelable(false);
					prog.setCanceledOnTouchOutside(false);
					prog.setTitle(downloading_file_0);
					new Thread(new Runnable() {
							@Override
							public void run() {
									boolean downloading = true;
									while (downloading) {
											DownloadManager.Query q = new DownloadManager.Query();
											q.setFilterById(downloadId);
											android.database.Cursor cursor = manager.query(q);
											if (cursor != null) { 
													if (cursor.moveToFirst()) {
															int bytes_downloaded = cursor.getInt(cursor .getColumnIndex(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR));
															int bytes_total = cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_TOTAL_SIZE_BYTES));
															if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_SUCCESSFUL) {
																	downloading = false;
															}
															if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_FAILED) {
																	runOnUiThread(new Runnable() {
																			public void run() { 
																					SketchwareUtil.showMessage(getApplicationContext(), "The file or link is currently unavailable. Please try again later.");
																					_File_Remover();
																			}
																	});
																	try {
																			prog.cancel();
																			break;
																	} catch (Exception e) {
																	}
															}
															final int dl_progress = (int) (bytes_total != 0 ? (bytes_downloaded * 100l) / bytes_total : 0) ;
															final int dl_max = (int) (100);
															final float file_front = (float) ((bytes_downloaded * 1.0) / 1048576.0);
															final float file_end = (float) ((bytes_total * 1.0) / 1048576.0);
															String file_min = String.format("%.2f", file_front);
															String file_fix = String.format("%.2f", file_end);
															String file_max = file_fix.replace("-", "");
															runOnUiThread(new Runnable() {
																	@Override
																	public void run() {
																			if (!MainActivity.this.isFinishing()) {
																					prog.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
																					String Title = "<b>".concat(downloading_file_0.concat("</b>"));
																					String TitleColor = "1DB954";
																					prog.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																					prog.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
																					prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
																					prog.setProgressNumberFormat((file_min) + " MB" + " | " + (file_max) + " MB");
																					prog.setProgress(dl_progress);
																					prog.setMax(dl_max);
																					prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
																							@Override
																							public void onClick(DialogInterface dialog, int which) {
																									manager.remove(downloadId);
																									Timer = new TimerTask() {
																											@Override
																											public void run() {
																													runOnUiThread(new Runnable() {
																															@Override
																															public void run() {
																																	try {
																																			_Hide_Navigation();
																																			_File_Remover();
																																			prog.cancel();
																																	} catch (Exception e) {
																																	}
																															}
																													});
																											}
																									};
																									_timer.schedule(Timer, (int)(0));
																							}
																					});
																					prog.show();
																			}
																			if (bytes_downloaded == bytes_total) {
																					Timer = new TimerTask() {
																							@Override
																							public void run() {
																									runOnUiThread(new Runnable() {
																											@Override
																											public void run() {	
																													try {
																															FileUtil.copyFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk", apk_path_location.getText().toString().concat("Spotify Mod (Official) [Cloned].apk"));
																													}
																													catch(Exception e) {
																													}
																													prog.cancel();
																													Timer = new TimerTask() {
																															@Override
																															public void run() {
																																	runOnUiThread(new Runnable() {
																																			@Override
																																			public void run() {
																																					version_switch_01.setChecked(false);
																																					version_switch_02.setChecked(false);
																																					changelogs_switch.setChecked(false);
																																					if ((Installed_Version_Cloned < Downloaded_Version_Cloned) || ((Downloaded_Version_Cloned > Installed_Version_Cloned) || ((Installed_Version_Cloned == Downloaded_Version_Cloned) || Installed_Checker_Cloned.equals("false")))) {
																																							if (getICSignature(getApplicationContext()).equals(getDCSignature(getApplicationContext())) || Installed_Checker_Cloned.equals("false")) {
																																									StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
																																									if(android.os.Build.VERSION.SDK_INT >= 29){
																																											try {
																																													Intent intent = new Intent(Intent.ACTION_VIEW);
																																													intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
																																													intent.setDataAndType(FileProvider.getUriForFile(MainActivity.this, "com.xc3fff0e.xmanager.provider", new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")), "application/vnd.android.package-archive");
																																													startActivity(intent);
																																											}
																																											catch(Exception e) {
																																											}
																																									} else {
																																											try {
																																													Intent intent = new Intent(Intent.ACTION_VIEW);
																																													intent.setDataAndType(Uri.fromFile(new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")), "application/vnd.android.package-archive");
																																													startActivity(intent);
																																													Timer = new TimerTask() {
																																															@Override
																																															public void run() {
																																																	runOnUiThread(new Runnable() {
																																																			@Override
																																																			public void run() {
																																																					_Hide_Navigation();
																																																			}
																																																	});
																																															}
																																													};
																																													_timer.schedule(Timer, (int)(100));
																																											}
																																											catch(Exception e) {
																																											}
																																									} 
																																							} else {
																																									if (!MainActivity.this.isFinishing()) {
																																											final AlertDialog.Builder Signature_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
																																											String Title = "<b>".concat(installation_failed_0.concat("</b>"));
																																											String TitleColor = "1DB954";
																																											Signature_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																																											String Message = installation_failed_cloned_desc_0.replace("\n", "<br/>");
																																											String MessageColor = "FFFFFF";
																																											Signature_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
																																											Signature_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																																													@Override
																																													public void onClick(DialogInterface Signature_Check, int p) {
																																															_Hide_Navigation();
																																															AlertDialog.setCancelable(true);
																																															try {
																																																	Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.musix")); 
																																																	startActivity(intent);
																																															}
																																															catch(Exception e) {
																																															}
																																													}
																																											});
																																											Signature_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																																													@Override
																																													public void onClick(DialogInterface Signature_Check, int p) {
																																															_Hide_Navigation();
																																															AlertDialog.setCancelable(true);
																																													}
																																											});
																																											AlertDialog = Signature_Check.create();
																																											AlertDialog.setCancelable(false);
																																											AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
																																											AlertDialog.show();
																																									}
																																							}	
																																					}
																																					else {
																																							if (Downloaded_Version_Cloned < Installed_Version_Cloned) {
																																									if (!MainActivity.this.isFinishing()) {
																																											final AlertDialog.Builder Downgrade_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
																																											String Title = "<b>".concat(installation_failed_0.concat("</b>"));
																																											String TitleColor = "1DB954";
																																											Downgrade_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
																																											String Message = installation_failed_desc_0.replace("\n", "<br/>");
																																											String MessageColor = "FFFFFF";
																																											Downgrade_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
																																											Downgrade_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
																																													@Override
																																													public void onClick(DialogInterface Downgrade_Check, int p) {
																																															_Hide_Navigation();
																																															AlertDialog.setCancelable(true);
																																															try {
																																																	Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.musix")); 
																																																	startActivity(intent);
																																															}
																																															catch(Exception e) {
																																															}
																																													}
																																											});
																																											Downgrade_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
																																													@Override
																																													public void onClick(DialogInterface Downgrade_Check, int p) {
																																															_Hide_Navigation();
																																															AlertDialog.setCancelable(true);
																																													}
																																											});
																																											AlertDialog = Downgrade_Check.create();
																																											AlertDialog.setCancelable(false);
																																											AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
																																											AlertDialog.show();
																																									}
																																							}
																																					}
																																			}
																																	});
																															}
																													};
																													_timer.schedule(Timer, (int)(100));
																													Timer = new TimerTask() {
																															@Override
																															public void run() {
																																	runOnUiThread(new Runnable() {
																																			@Override
																																			public void run() {
																																					_Hide_Navigation();
																																			}
																																	});
																															}
																													};
																													_timer.schedule(Timer, (int)(100));
																											}
																									});
																							}
																					};
																					_timer.schedule(Timer, (int)(1500));
																			}
																	} });
													}
													cursor.close();
											}
									} } }).start();
			} else {
					com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Slow or no internet connection. Try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
			}
			
		}
		catch(Exception e) {
		}
	}
	
	
	public void _Signature_Checker_Cloned() {
	}
	public String getICSignature(Context context) {
		try {
				android.content.pm.PackageInfo packageInfo = context.getPackageManager().getPackageInfo("com.spotify.musix", PackageManager.GET_SIGNATURES);
				for (android.content.pm.Signature signature : packageInfo.signatures) {
						String ic_sha1 = getic_SHA1_(signature.toByteArray());
						return ic_sha1;
				}
		} catch(android.content.pm.PackageManager.NameNotFoundException e) {
		}
		return "";
	}
	
	public String getic_SHA1_(byte[] sig) {
		try {
				java.security.MessageDigest digest = java.security.MessageDigest.getInstance("SHA1");
				digest.update(sig);
				byte[] hashtext = digest.digest();
				return ic_bytes_To_Hex_(hashtext);
		} catch(java.security.NoSuchAlgorithmException e) {}
		return "";
	}
	
	public String ic_bytes_To_Hex_(byte[] bytes) {
		final char[] hexArray = { '0', '1', '2', '3', '4', '5', '6', '7', '8',
				'9', 'A', 'B', 'C', 'D', 'E', 'F' };
		char[] hexChars = new char[bytes.length * 2];
		int v;
		for (int j = 0; j < bytes.length; j++) {
				v = bytes[j] & 0xFF;
				hexChars[j * 2] = hexArray[v >>> 4];
				hexChars[j * 2 + 1] = hexArray[v & 0x0F];
		}
		return new String(hexChars);
	}
	{
		
		
	}
	public String getDCSignature(Context context) {
		try {
				android.content.pm.PackageInfo packageArchiveInfo = context.getPackageManager().getPackageArchiveInfo(apk_path_location.getText().toString().concat("Spotify Mod (Official) [Cloned].apk"), PackageManager.GET_SIGNATURES);
				for (android.content.pm.Signature signature : packageArchiveInfo.signatures) {
						
						String dc_sha1 = getdc_SHA1_(signature.toByteArray());
						return dc_sha1;
				}
		} catch(Exception e) {
		}
		return "";
	}
	
	public String getdc_SHA1_(byte[] sig) {
		try {
				java.security.MessageDigest digest = java.security.MessageDigest.getInstance("SHA1");
				digest.update(sig);
				byte[] hashtext = digest.digest();
				return dc_bytes_To_Hex_(hashtext);
		} catch(java.security.NoSuchAlgorithmException e) {}
		return "";
	}
	
	public String dc_bytes_To_Hex_(byte[] bytes) {
		final char[] hexArray = { '0', '1', '2', '3', '4', '5', '6', '7', '8',
				'9', 'A', 'B', 'C', 'D', 'E', 'F' };
		char[] hexChars = new char[bytes.length * 2];
		int v;
		for (int j = 0; j < bytes.length; j++) {
				v = bytes[j] & 0xFF;
				hexChars[j * 2] = hexArray[v >>> 4];
				hexChars[j * 2 + 1] = hexArray[v & 0x0F];
		}
		return new String(hexChars);
	}
	{
		
	}
	
	
	public void _Downgrade_Checker() {
		String uri_check = "com.spotify.music";
		android.content.pm.PackageManager pm_check = getPackageManager();
		
		try {
				android.content.pm.PackageInfo Installed_Reg = pm_check.getPackageInfo(uri_check, android.content.pm.PackageManager.GET_ACTIVITIES);
				Installed_Version = Installed_Reg.versionCode;
		}
		catch (Exception e) {
		}
		
		
		try {
				android.content.pm.PackageInfo Downloaded_Reg = this.getPackageManager().getPackageArchiveInfo(apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"), PackageManager.GET_ACTIVITIES);
				Downloaded_Version = Downloaded_Reg.versionCode;
		}
		catch (Exception e) {
				Downloaded_Version = Installed_Version;
		}
		
		
		String uri_cloned = "com.spotify.musix";
		android.content.pm.PackageManager pm_cloned = getPackageManager();
		
		try {
				android.content.pm.PackageInfo Installed_Cloned = pm_cloned.getPackageInfo(uri_cloned, android.content.pm.PackageManager.GET_ACTIVITIES);
				Installed_Version_Cloned = Installed_Cloned.versionCode;
		}
		catch (Exception e) {
		}
		
		
		try {
				android.content.pm.PackageInfo Downloaded_Cloned = this.getPackageManager().getPackageArchiveInfo(apk_path_location.getText().toString().concat("Spotify Mod (Official) [Cloned].apk"), PackageManager.GET_ACTIVITIES);
				Downloaded_Version_Cloned = Downloaded_Cloned.versionCode;
		}
		catch (Exception e) {
				Downloaded_Version_Cloned = Installed_Version_Cloned;
		}
		
	}
	
	
	public void _External_Storage() {
		if (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED
		|| ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED) {
				if (SDK_INT >= Build.VERSION_CODES.R) {
						if (!Environment.isExternalStorageManager()) {
								final AlertDialog.Builder External_Storage = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
								String Title = "<b>".concat("STORAGE ACCESS".concat("</b>"));
								String TitleColor = "FFEB3B";
								External_Storage.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
								String Message = "Due to Android 11 (API 30) enhanced storage restriction or scoped storage, xManager requires you to allow \"Manage External Storage\" permission.".replace("\n", "<br/>");
								String MessageColor = "FFFFFF";
								External_Storage.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
								External_Storage.setPositiveButton("SETUP", new DialogInterface.OnClickListener(){
										@Override
										public void onClick(DialogInterface External_Storage, int p) {
												AlertDialog.setCancelable(true);
												try {
														External_Storage_Manager.setAction(android.provider.Settings.ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION);
														startActivity(External_Storage_Manager);
												} catch (Exception e) {
												}
										}
								});
								AlertDialog = External_Storage.create();
								AlertDialog.setCancelable(false);
								AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
								AlertDialog.show();
						} else {
								final AlertDialog.Builder External_Storage = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
								AlertDialog = External_Storage.create();
								AlertDialog.dismiss();
						}
				}
		}
		
	}
	
	
	public void _Maintenance() {
		try {
			final AlertDialog.Builder Update_Unauthorized = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
			
			String Title = "<b>".concat(maintenance.getText().toString().concat("</b>"));
			String TitleColor = "1DB954";
			
			Update_Unauthorized.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
			String Message = maintenance_desc.getText().toString();
			String MessageColor = "FFFFFF";
			
			Update_Unauthorized.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
			Update_Unauthorized.setPositiveButton(thanks.getText().toString(), new DialogInterface.OnClickListener(){
				
				                @Override
				                public void onClick(DialogInterface Update_Unauthorized, int p) {
					AlertDialog.setCancelable(true);
					finishAndRemoveTask();
					finishAffinity();
					                }
				            });
			 Update_Unauthorized.setNeutralButton(support.getText().toString(), new DialogInterface.OnClickListener(){
				
				                @Override
				                public void onClick(DialogInterface Update_Unauthorized, int p) {
					AlertDialog.setCancelable(false);
					AlertDialog.show();
					_Maintenance();
					try {
						_Browser("https://t.me/SpotifyModSupport");
					}
					catch(Exception e) {
					}
					                }
				            });
			AlertDialog = Update_Unauthorized.create();
			AlertDialog.setCancelable(false);
			AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
			AlertDialog.show();
		}
		catch(Exception e) {
		}
	}
	
	
	public void _Rewarded_AdMob() {
		
		    AdRequest adRequest = new AdRequest.Builder().build();
		
		    RewardedAd.load(MainActivity.this, AD_UNIT.getString("ADS", ""),
		      adRequest, new RewardedAdLoadCallback() {
			        @Override
			        public void onAdFailedToLoad(@NonNull LoadAdError loadAdError) {
				             
				          mRewardedAd = null;
			}
			        @Override
			        public void onAdLoaded(@NonNull RewardedAd rewardedAd) {
				          mRewardedAd = rewardedAd;
				           
				mRewardedAd.setFullScreenContentCallback(new FullScreenContentCallback() {
					  @Override
					  public void onAdShowedFullScreenContent() {
						       
					}
					  @Override
					  public void onAdFailedToShowFullScreenContent(AdError adError) {
						       
					}
					  @Override
					  public void onAdDismissedFullScreenContent() {
						      _Rewarded_AdMob();
						    mRewardedAd = null;
						      }
					    });
				  }
		});
	}
	
	
	public void _Rewarded_Unity() {
		UnityAds.show(this, placementRewardedVideo);
	}
	
	
	public void _Ads_AdMob() {
		Timer = new TimerTask() {
			@Override
			public void run() {
				runOnUiThread(new Runnable() {
					@Override
					public void run() {
						        MobileAds.initialize(MainActivity.this, new OnInitializationCompleteListener() {
								            @Override
								            public void onInitializationComplete(InitializationStatus initializationStatus) {
										            }
								        });
						MobileAds.setAppMuted(true);
					}
				});
			}
		};
		_timer.schedule(Timer, (int)(100));
	}
	
	
	public void _Ads_Unity() {
		testMode = false;
		UnityAds.initialize(this, unityGameID, testMode);
		final UnityAdsListener xC3FFF0E = new UnityAdsListener ();
		UnityAds.addListener(xC3FFF0E);
	}
	
	
	public void _API() {
		try {
			Connection.startRequestNetwork(RequestNetworkController.GET, "https://xmanagerapp.com/api/public.json", "null", _Connection_request_listener);
		} catch (Exception e) {
			com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "No API Response. Try Again.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
		}
	}
	
	
	public void _Backbone() {
		Timer = new TimerTask() {
			@Override
			public void run() {
				runOnUiThread(new Runnable() {
					@Override
					public void run() {
						try {
							Regular = (new Gson()).toJson(Datas.get("Regular"), new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
							Amoled = (new Gson()).toJson(Datas.get("Amoled"), new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
							Regular_Cloned = (new Gson()).toJson(Datas.get("Regular_Cloned"), new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
							Amoled_Cloned = (new Gson()).toJson(Datas.get("Amoled_Cloned"), new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
							Mod_Changelogs = (new Gson()).toJson(Datas.get("Mod_Changelogs"), new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
							regular = new Gson().fromJson(Regular, new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
							amoled = new Gson().fromJson(Amoled, new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
							regular_cloned = new Gson().fromJson(Regular_Cloned, new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
							amoled_cloned = new Gson().fromJson(Amoled_Cloned, new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
							mod_changelogs = new Gson().fromJson(Mod_Changelogs, new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
							sub_1.setText(Datas.get("Regular_Latest").toString());
							sub_3.setText(Datas.get("Amoled_Latest").toString());
							sub_5.setText(Datas.get("RC_Latest").toString());
							sub_7.setText(Datas.get("ABC_Latest").toString());
							donators.setText(Datas.get("Supporters").toString());
							hidden_update.setText(Datas.get("Update").toString());
							app_changelogs.setText(Datas.get("App_Changelogs").toString());
							Current_Version = Double.parseDouble(local_version.getText().toString());
							Latest_Version = Double.parseDouble(Datas.get("Server").toString());
							AD_UNIT.edit().putString("ADS", Datas.get("Rewarded_Ads").toString()).commit();
							list_menu_1.setAdapter(new List_menu_1Adapter(regular));
							list_menu_2.setAdapter(new List_menu_2Adapter(amoled));
							list_menu_3.setAdapter(new List_menu_3Adapter(regular_cloned));
							list_menu_4.setAdapter(new List_menu_4Adapter(amoled_cloned));
							list_changelogs.setAdapter(new List_changelogsAdapter(mod_changelogs));
							((BaseAdapter)list_menu_1.getAdapter()).notifyDataSetChanged();
							((BaseAdapter)list_menu_2.getAdapter()).notifyDataSetChanged();
							((BaseAdapter)list_menu_3.getAdapter()).notifyDataSetChanged();
							((BaseAdapter)list_menu_4.getAdapter()).notifyDataSetChanged();
							((BaseAdapter)list_changelogs.getAdapter()).notifyDataSetChanged();
							if (ON_SCREEN.getString("INITIALIZATION", "").equals("DONE")) {
								_Updater();
							}
						} catch (Exception e) {
							com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "No API Response. Try Again.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
						}
					}
				});
			}
		};
		_timer.schedule(Timer, (int)(500));
	}
	
	
	public void _Initialize() {
		title_header.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		title_sub.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		title_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		title_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_5.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_text_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_installed.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_separator.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_installed_c.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_text_installed.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_7.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_text_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_text_installed.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		title_sub.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		device_cpu.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		cpu.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		support.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		donate.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		about.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		source.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		website.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		discord.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		reddit.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		faq.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		version_switch_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		version_switch_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		theme.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		title_about.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		developer_manager.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		developer_spotify.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		support_team.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		mod_testers_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		mod_testers_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		mobilism_team.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		forum_team.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_team.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		developer_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		developer_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		support_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		testers_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		testers_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		mobilism_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		forum_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		contributors_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_donators.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		donators.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		changelogs.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_title.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		local_version.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		navigation_bar.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		list_auto_refresh.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		list_auto_refresh_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		apk_location_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		apk_location.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		reset_settings.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		clear_directory_folders.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		force_auto_install.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		force_auto_install_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		copy_url_mode.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		copy_file_url_mode_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		clear_directory_folders_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		language.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		regular_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 2);
		amoled_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 2);
		title_header_beta.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		title_header_separator.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		cloned_version.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		cloned_version_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		disable_reward_ad.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		disable_reward_ad_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_4.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_5.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_6.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_7.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_8.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_9.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_10.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_11.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_12.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_13.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_14.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_15.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_16.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_17.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_18.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_19.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_20.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_21.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_22.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_23.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_4.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_5.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_6.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_7.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_8.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_9.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_10.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_11.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_12.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_13.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_14.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_15.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_16.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_17.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_18.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_19.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_20.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_21.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_22.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_23.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		box_sub_header.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		main_box_1.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		main_box_2.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		main_box_5.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		main_box_6.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		main_box_7.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		main_box_8.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		main_box_9.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		main_box_10.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		main_box_11.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		main_box_12.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		main_box_14.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		main_box_16.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		main_box_17.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		sub_1.setVisibility(View.GONE);
		sub_3.setVisibility(View.GONE);
		sub_5.setVisibility(View.GONE);
		sub_7.setVisibility(View.GONE);
		list_menu_1.setVisibility(View.GONE);
		list_menu_2.setVisibility(View.GONE);
		list_menu_3.setVisibility(View.GONE);
		list_menu_4.setVisibility(View.GONE);
		list_changelogs.setVisibility(View.GONE);
		box_support.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_donate.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_about.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_source.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_website.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_discord.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_reddit.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_faq.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_about_header.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF1DB954));
		box_about_1.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_about_2.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_about_3.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_about_4.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_about_5.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_about_6.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_about_7.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
		box_about_sub.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF2962FF));
		box_reset_settings.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF424242));
		box_separator_1.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF616161));
		box_separator_2.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF616161));
		box_separator_3.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF616161));
		if (!ON_SCREEN.getString("INITIALIZATION", "").equals("DONE")) {
			try {
				box_header.setVisibility(View.GONE);
				final ProgressDialog prog = new ProgressDialog(MainActivity.this, R.style.Intro_Dialog);
				prog.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
				prog.setMax(100);
				prog.setMessage("Initial optimization...");
				prog.setIndeterminate(true);
				prog.setCancelable(false);
				if (!MainActivity.this.isFinishing()){
						prog.show();
				}
				
				Timer = new TimerTask() {
					@Override
					public void run() {
						runOnUiThread(new Runnable() {
							@Override
							public void run() {
								prog.dismiss();
								final ProgressDialog prog = new ProgressDialog(MainActivity.this, R.style.Intro_Dialog);
								prog.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
								prog.setMax(100);
								prog.setMessage("Relaunching...");
								prog.setIndeterminate(true);
								prog.setCancelable(false);
								prog.show();
								if (!MainActivity.this.isFinishing()){
										return;
								}
								
								Timer = new TimerTask() {
									@Override
									public void run() {
										runOnUiThread(new Runnable() {
											@Override
											public void run() {
												box_header.setVisibility(View.VISIBLE);
												prog.dismiss();
											}
										});
									}
								};
								_timer.schedule(Timer, (int)(9000));
							}
						});
					}
				};
				_timer.schedule(Timer, (int)(8000));
				if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/")) {
					FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/");
				}
				if (FileUtil.isExistFile("/storage/emulated/0/xManager/")) {
					FileUtil.deleteFile("/storage/emulated/0/xManager/");
				}
				Timer = new TimerTask() {
					@Override
					public void run() {
						runOnUiThread(new Runnable() {
							@Override
							public void run() {
								version_switch_01.setChecked(true);
								version_switch_02.setChecked(false);
								changelogs_switch.setChecked(false);
								Timer = new TimerTask() {
									@Override
									public void run() {
										runOnUiThread(new Runnable() {
											@Override
											public void run() {
												version_switch_01.setChecked(false);
												version_switch_02.setChecked(true);
												changelogs_switch.setChecked(false);
												Timer = new TimerTask() {
													@Override
													public void run() {
														runOnUiThread(new Runnable() {
															@Override
															public void run() {
																version_switch_01.setChecked(false);
																version_switch_02.setChecked(false);
																changelogs_switch.setChecked(true);
																Timer = new TimerTask() {
																	@Override
																	public void run() {
																		runOnUiThread(new Runnable() {
																			@Override
																			public void run() {
																				cloned_version_switch.setChecked(true);
																				Timer = new TimerTask() {
																					@Override
																					public void run() {
																						runOnUiThread(new Runnable() {
																							@Override
																							public void run() {
																								version_switch_01.setChecked(false);
																								version_switch_02.setChecked(false);
																								changelogs_switch.setChecked(false);
																								cloned_version_switch.setChecked(false);
																							}
																						});
																					}
																				};
																				_timer.schedule(Timer, (int)(700));
																			}
																		});
																	}
																};
																_timer.schedule(Timer, (int)(600));
															}
														});
													}
												};
												_timer.schedule(Timer, (int)(500));
											}
										});
									}
								};
								_timer.schedule(Timer, (int)(500));
							}
						});
					}
				};
				_timer.schedule(Timer, (int)(300));
				Timer = new TimerTask() {
					@Override
					public void run() {
						runOnUiThread(new Runnable() {
							@Override
							public void run() {
								ON_SCREEN.edit().putString("INITIALIZATION", "DONE").commit();
								try {
									Intent intent = getBaseContext().getPackageManager().getLaunchIntentForPackage(getBaseContext().getPackageName() ); 
									
									intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
									intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
									startActivity(intent);
								}
								catch (Exception e) {
								}
							}
						});
					}
				};
				_timer.schedule(Timer, (int)(10000));
				if (Build.VERSION.SDK_INT > Build.VERSION_CODES.KITKAT) {
					Window w =MainActivity.this.getWindow();
					w.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
					w.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); w.setStatusBarColor(0xFF171717);
				}
				main_body_optimization.setVisibility(View.VISIBLE);
				main_scroll_settings.setVisibility(View.GONE);
				main_scroll_about.setVisibility(View.GONE);
				main_refresh_layout.setVisibility(View.GONE);
				box_switch.setVisibility(View.GONE);
				box_update.setVisibility(View.GONE);
			}
			catch(Exception e) {
			}
		}
		else {
			try {
				if (CLONED_VERSION.getString("CLONED", "").equals("ON")) {
					cloned_version_switch.setChecked(true);
					sub_1.setVisibility(View.GONE);
					sub_3.setVisibility(View.GONE);
					sub_5.setVisibility(View.VISIBLE);
					sub_7.setVisibility(View.VISIBLE);
				}
				else {
					if (CLONED_VERSION.getString("CLONED", "").equals("OFF")) {
						cloned_version_switch.setChecked(false);
						sub_1.setVisibility(View.VISIBLE);
						sub_3.setVisibility(View.VISIBLE);
						sub_5.setVisibility(View.GONE);
						sub_7.setVisibility(View.GONE);
					}
				}
				if (Build.VERSION.SDK_INT > Build.VERSION_CODES.KITKAT) {
					Window w =MainActivity.this.getWindow();
					w.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
					w.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); w.setStatusBarColor(0xFF171717);
				}
				title_header.setTextColor(0xFF1DB954);
				title_header_separator.setTextColor(0xFFFFFFFF);
				title_header_beta.setTextColor(0xFFFFFFFF);
				box_header.setBackgroundColor(0xFF171717);
				main_body_optimization.setVisibility(View.GONE);
				main_scroll_settings.setVisibility(View.GONE);
				main_scroll_about.setVisibility(View.GONE);
				main_refresh_layout.setVisibility(View.VISIBLE);
				box_update.setVisibility(View.VISIBLE);
				box_switch.setVisibility(View.VISIBLE);
				icon_update.setAlpha((float)(1.0d));
				icon_switch.setAlpha((float)(1.0d));
				main_body.setAlpha((float)(0.50d));
				_Storage_Permission();
				_External_Storage();
				_API_Token();
				_Updater();
			}
			catch(Exception e) {
			}
		}
		main_refresh_layout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
			@Override
			public void onRefresh() {
				try {
					main_refresh_layout.setRefreshing(true);
					Timer = new TimerTask() {
						@Override
						public void run() {
							runOnUiThread(new Runnable() {
								@Override
								public void run() {
									if (CLONED_VERSION.getString("CLONED", "").equals("ON")) {
										list_menu_1.setAdapter(new List_menu_1Adapter(regular));
										list_menu_3.setAdapter(new List_menu_3Adapter(regular_cloned));
										((BaseAdapter)list_menu_1.getAdapter()).notifyDataSetChanged();
										((BaseAdapter)list_menu_3.getAdapter()).notifyDataSetChanged();
									}
									else {
										if (CLONED_VERSION.getString("CLONED", "").equals("OFF")) {
											list_menu_1.setAdapter(new List_menu_1Adapter(regular));
											list_menu_3.setAdapter(new List_menu_3Adapter(regular_cloned));
											((BaseAdapter)list_menu_1.getAdapter()).notifyDataSetChanged();
											((BaseAdapter)list_menu_3.getAdapter()).notifyDataSetChanged();
										}
									}
									version_switch_01.setChecked(true);
									version_switch_02.setChecked(false);
									changelogs_switch.setChecked(false);
									Timer = new TimerTask() {
										@Override
										public void run() {
											runOnUiThread(new Runnable() {
												@Override
												public void run() {
													if (CLONED_VERSION.getString("CLONED", "").equals("ON")) {
														list_menu_2.setAdapter(new List_menu_2Adapter(amoled));
														list_menu_4.setAdapter(new List_menu_4Adapter(amoled_cloned));
														((BaseAdapter)list_menu_2.getAdapter()).notifyDataSetChanged();
														((BaseAdapter)list_menu_4.getAdapter()).notifyDataSetChanged();
													}
													else {
														if (CLONED_VERSION.getString("CLONED", "").equals("OFF")) {
															list_menu_2.setAdapter(new List_menu_2Adapter(amoled));
															list_menu_4.setAdapter(new List_menu_4Adapter(amoled_cloned));
															((BaseAdapter)list_menu_2.getAdapter()).notifyDataSetChanged();
															((BaseAdapter)list_menu_4.getAdapter()).notifyDataSetChanged();
														}
													}
													version_switch_01.setChecked(false);
													version_switch_02.setChecked(true);
													changelogs_switch.setChecked(false);
													Timer = new TimerTask() {
														@Override
														public void run() {
															runOnUiThread(new Runnable() {
																@Override
																public void run() {
																	list_changelogs.setAdapter(new List_changelogsAdapter(mod_changelogs));
																	((BaseAdapter)list_changelogs.getAdapter()).notifyDataSetChanged();
																	version_switch_01.setChecked(false);
																	version_switch_02.setChecked(false);
																	changelogs_switch.setChecked(true);
																	Timer = new TimerTask() {
																		@Override
																		public void run() {
																			runOnUiThread(new Runnable() {
																				@Override
																				public void run() {
																					main_refresh_layout.setRefreshing(false);
																					version_switch_01.setChecked(false);
																					version_switch_02.setChecked(false);
																					changelogs_switch.setChecked(false);
																					main_body.setAlpha((float)(1.0d));
																					String currentDateTimeString = java.text.DateFormat.getDateTimeInstance().format(new Date());
																					
																					com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Data List Updated | " + (currentDateTimeString), com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
																				}
																			});
																		}
																	};
																	_timer.schedule(Timer, (int)(600));
																}
															});
														}
													};
													_timer.schedule(Timer, (int)(500));
												}
											});
										}
									};
									_timer.schedule(Timer, (int)(500));
								}
							});
						}
					};
					_timer.schedule(Timer, (int)(300));
					com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Refreshing Data List...", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
					main_body.setAlpha((float)(0.50d));
					_Animation_3();
				}
				catch(Exception e) {
				}
			}
		});
		apk_path_location.setText(APK_PATH.getString("PATH", ""));
		Timer = new TimerTask() {
			@Override
			public void run() {
				runOnUiThread(new Runnable() {
					@Override
					public void run() {
						Timer = new TimerTask() {
							@Override
							public void run() {
								runOnUiThread(new Runnable() {
									@Override
									public void run() {
										_Downgrade_Checker();
									}
								});
							}
						};
						_timer.schedule(Timer, (int)(75));
					}
				});
			}
		};
		_timer.scheduleAtFixedRate(Timer, (int)(0), (int)(150));
		CHECK = 0;
		_Rewarded_AdMob();
		_Update_Remover();
		_Language_Fixer();
		_Switch_Fixer();
		_Language_UI();
		_List_Updater();
		_Scroll_Fixed();
		_Ads_AdMob();
		_Theme_UI();
		_Ads_Unity();
		_Effects();
		_Url_Mode();
		_Extra();
	}
	
	
	public void _API_Token() {
		main_refresh_layout.setRefreshing(true);
		if (SketchwareUtil.isConnected(getApplicationContext())) {
			Timer = new TimerTask() {
				@Override
				public void run() {
					runOnUiThread(new Runnable() {
						@Override
						public void run() {
							try {
								Current_Version = Double.parseDouble(local_version.getText().toString());
								Latest_Version = Double.parseDouble(Datas.get("Server").toString());
							} catch (Exception e) {
								Timer = new TimerTask() {
										@Override
										public void run() {
												runOnUiThread(new Runnable() {
														@Override
														public void run() {
																try {
																	Intent intent = getBaseContext().getPackageManager().getLaunchIntentForPackage(getBaseContext().getPackageName() );
																	intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
																	intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
																	startActivity(intent);
																} catch (Exception e) {
																  }
														}
												});
										}
								};
								_timer.schedule(Timer, (int)(1000));
							}
							if (Latest_Version < Current_Version) {
								com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "API Token Expired", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
								list_menu_1.setVisibility(View.GONE);
								list_menu_2.setVisibility(View.GONE);
								list_menu_3.setVisibility(View.GONE);
								list_menu_4.setVisibility(View.GONE);
								list_changelogs.setVisibility(View.GONE);
								sub_1.setText("N/A");
								sub_3.setText("N/A");
								sub_5.setText("N/A");
								sub_7.setText("N/A");
							}
							else {
								if (Latest_Version > Current_Version) {
									com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "New Update Available", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
								}
								else {
									if (!list_auto_refresh_switch.isChecked()) {
										String currentDateTimeString = java.text.DateFormat.getDateTimeInstance().format(new Date());
										
										com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "API Updated | " + (currentDateTimeString), com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
									}
								}
							}
							main_refresh_layout.setRefreshing(false);
							main_body.setAlpha((float)(1.0d));
						}
					});
				}
			};
			_timer.schedule(Timer, (int)(500));
		}
		else {
			com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "API Update Failed", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
			main_refresh_layout.setRefreshing(true);
		}
	}
	
	public class List_menu_1Adapter extends BaseAdapter {
		
		ArrayList<HashMap<String, Object>> _data;
		
		public List_menu_1Adapter(ArrayList<HashMap<String, Object>> _arr) {
			_data = _arr;
		}
		
		@Override
		public int getCount() {
			return _data.size();
		}
		
		@Override
		public HashMap<String, Object> getItem(int _index) {
			return _data.get(_index);
		}
		
		@Override
		public long getItemId(int _index) {
			return _index;
		}
		
		@Override
		public View getView(final int _position, View _v, ViewGroup _container) {
			LayoutInflater _inflater = getLayoutInflater();
			View _view = _v;
			if (_view == null) {
				_view = _inflater.inflate(R.layout.list_menu_1, null);
			}
			
			final LinearLayout box = _view.findViewById(R.id.box);
			final TextView link = _view.findViewById(R.id.link);
			final ImageView icon = _view.findViewById(R.id.icon);
			final TextView sub = _view.findViewById(R.id.sub);
			final TextView title = _view.findViewById(R.id.title);
			
			try {
				title.setVisibility(View.VISIBLE);
				link.setVisibility(View.GONE);
				title.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
				title.setText(regular.get((int)(regular.size() - 1) - _position).get("Title").toString());
				link.setText(regular.get((int)(regular.size() - 1) - _position).get("Link").toString());
				Animation animation;
				animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
				animation.setDuration(300); box.startAnimation(animation);
				animation = null;
				if (_position < 2) {
					sub.setTextColor(0xFFFF1744);
					sub.setText("[LATEST]");
				}
				else {
					sub.setTextColor(0xFFBDBDBD);
					sub.setText("[OLDER]");
				}
			} catch (Exception e) {
			}
			
			return _view;
		}
	}
	
	public class List_menu_3Adapter extends BaseAdapter {
		
		ArrayList<HashMap<String, Object>> _data;
		
		public List_menu_3Adapter(ArrayList<HashMap<String, Object>> _arr) {
			_data = _arr;
		}
		
		@Override
		public int getCount() {
			return _data.size();
		}
		
		@Override
		public HashMap<String, Object> getItem(int _index) {
			return _data.get(_index);
		}
		
		@Override
		public long getItemId(int _index) {
			return _index;
		}
		
		@Override
		public View getView(final int _position, View _v, ViewGroup _container) {
			LayoutInflater _inflater = getLayoutInflater();
			View _view = _v;
			if (_view == null) {
				_view = _inflater.inflate(R.layout.list_menu_3, null);
			}
			
			final LinearLayout box_cloned = _view.findViewById(R.id.box_cloned);
			final TextView link = _view.findViewById(R.id.link);
			final ImageView icon = _view.findViewById(R.id.icon);
			final TextView sub = _view.findViewById(R.id.sub);
			final TextView title = _view.findViewById(R.id.title);
			
			try {
				title.setVisibility(View.VISIBLE);
				link.setVisibility(View.GONE);
				title.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
				title.setText(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Title").toString());
				link.setText(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString());
				Animation animation;
				animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
				animation.setDuration(300); box_cloned.startAnimation(animation);
				animation = null;
				if (_position < 2) {
					sub.setTextColor(0xFFFF1744);
					sub.setText("[LATEST]");
				}
				else {
					sub.setTextColor(0xFFBDBDBD);
					sub.setText("[OLDER]");
				}
			} catch (Exception e) {
			}
			
			return _view;
		}
	}
	
	public class List_menu_2Adapter extends BaseAdapter {
		
		ArrayList<HashMap<String, Object>> _data;
		
		public List_menu_2Adapter(ArrayList<HashMap<String, Object>> _arr) {
			_data = _arr;
		}
		
		@Override
		public int getCount() {
			return _data.size();
		}
		
		@Override
		public HashMap<String, Object> getItem(int _index) {
			return _data.get(_index);
		}
		
		@Override
		public long getItemId(int _index) {
			return _index;
		}
		
		@Override
		public View getView(final int _position, View _v, ViewGroup _container) {
			LayoutInflater _inflater = getLayoutInflater();
			View _view = _v;
			if (_view == null) {
				_view = _inflater.inflate(R.layout.list_menu_2, null);
			}
			
			final LinearLayout box = _view.findViewById(R.id.box);
			final TextView link = _view.findViewById(R.id.link);
			final ImageView icon = _view.findViewById(R.id.icon);
			final TextView sub = _view.findViewById(R.id.sub);
			final TextView title = _view.findViewById(R.id.title);
			
			try {
				title.setVisibility(View.VISIBLE);
				link.setVisibility(View.GONE);
				title.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
				title.setText(amoled.get((int)(amoled.size() - 1) - _position).get("Title").toString());
				link.setText(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString());
				Animation animation;
				animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
				animation.setDuration(300); box.startAnimation(animation);
				animation = null;
				if (_position < 2) {
					sub.setTextColor(0xFFFF1744);
					sub.setText("[LATEST]");
				}
				else {
					sub.setTextColor(0xFFBDBDBD);
					sub.setText("[OLDER]");
				}
			} catch (Exception e) {
			}
			
			return _view;
		}
	}
	
	public class List_menu_4Adapter extends BaseAdapter {
		
		ArrayList<HashMap<String, Object>> _data;
		
		public List_menu_4Adapter(ArrayList<HashMap<String, Object>> _arr) {
			_data = _arr;
		}
		
		@Override
		public int getCount() {
			return _data.size();
		}
		
		@Override
		public HashMap<String, Object> getItem(int _index) {
			return _data.get(_index);
		}
		
		@Override
		public long getItemId(int _index) {
			return _index;
		}
		
		@Override
		public View getView(final int _position, View _v, ViewGroup _container) {
			LayoutInflater _inflater = getLayoutInflater();
			View _view = _v;
			if (_view == null) {
				_view = _inflater.inflate(R.layout.list_menu_4, null);
			}
			
			final LinearLayout box_cloned = _view.findViewById(R.id.box_cloned);
			final TextView link = _view.findViewById(R.id.link);
			final ImageView icon = _view.findViewById(R.id.icon);
			final TextView sub = _view.findViewById(R.id.sub);
			final TextView title = _view.findViewById(R.id.title);
			
			try {
				title.setVisibility(View.VISIBLE);
				link.setVisibility(View.GONE);
				title.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
				title.setText(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Title").toString());
				link.setText(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString());
				Animation animation;
				animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
				animation.setDuration(300); box_cloned.startAnimation(animation);
				animation = null;
				if (_position < 2) {
					sub.setTextColor(0xFFFF1744);
					sub.setText("[LATEST]");
				}
				else {
					sub.setTextColor(0xFFBDBDBD);
					sub.setText("[OLDER]");
				}
			} catch (Exception e) {
			}
			
			return _view;
		}
	}
	
	public class List_changelogsAdapter extends BaseAdapter {
		
		ArrayList<HashMap<String, Object>> _data;
		
		public List_changelogsAdapter(ArrayList<HashMap<String, Object>> _arr) {
			_data = _arr;
		}
		
		@Override
		public int getCount() {
			return _data.size();
		}
		
		@Override
		public HashMap<String, Object> getItem(int _index) {
			return _data.get(_index);
		}
		
		@Override
		public long getItemId(int _index) {
			return _index;
		}
		
		@Override
		public View getView(final int _position, View _v, ViewGroup _container) {
			LayoutInflater _inflater = getLayoutInflater();
			View _view = _v;
			if (_view == null) {
				_view = _inflater.inflate(R.layout.list_changelogs, null);
			}
			
			final LinearLayout box = _view.findViewById(R.id.box);
			final TextView info = _view.findViewById(R.id.info);
			
			try {
				info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
				info.setText(mod_changelogs.get((int)(mod_changelogs.size() - 1) - _position).get("Mod_Changelogs").toString());
				Animation animation;
				animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
				animation.setDuration(300); box.startAnimation(animation);
				animation = null;
			}
			catch(Exception e) {
			}
			
			return _view;
		}
	}
	
	@Deprecated
	public void showMessage(String _s) {
		Toast.makeText(getApplicationContext(), _s, Toast.LENGTH_SHORT).show();
	}
	
	@Deprecated
	public int getLocationX(View _v) {
		int _location[] = new int[2];
		_v.getLocationInWindow(_location);
		return _location[0];
	}
	
	@Deprecated
	public int getLocationY(View _v) {
		int _location[] = new int[2];
		_v.getLocationInWindow(_location);
		return _location[1];
	}
	
	@Deprecated
	public int getRandom(int _min, int _max) {
		Random random = new Random();
		return random.nextInt(_max - _min + 1) + _min;
	}
	
	@Deprecated
	public ArrayList<Double> getCheckedItemPositionsToArray(ListView _list) {
		ArrayList<Double> _result = new ArrayList<Double>();
		SparseBooleanArray _arr = _list.getCheckedItemPositions();
		for (int _iIdx = 0; _iIdx < _arr.size(); _iIdx++) {
			if (_arr.valueAt(_iIdx))
			_result.add((double)_arr.keyAt(_iIdx));
		}
		return _result;
	}
	
	@Deprecated
	public float getDip(int _input) {
		return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, _input, getResources().getDisplayMetrics());
	}
	
	@Deprecated
	public int getDisplayWidthPixels() {
		return getResources().getDisplayMetrics().widthPixels;
	}
	
	@Deprecated
	public int getDisplayHeightPixels() {
		return getResources().getDisplayMetrics().heightPixels;
	}
}