summaryrefslogblamecommitdiffstats
path: root/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java
blob: 180efd6cebc002d917a74e0e90ea38eb9041f233 (plain) (tree)
1
2
3
4
5
6
7
8
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
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
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020

                               
                                             

                            
                      
                             
                          




                                          
                              
                           
                                  
                                    

                        

                        
                       

                                 
                             
                       


                            
                                 







                                      
                                    
                                
                                  










                                                 
                                                              
                                                                                
                                             

                                          
                                   










                                
                                              



                                                













                                                                                   
 


                                                      
                                     
                                            

                                  


                                    




                                                   




                                        




                                              





                                                      



                                                               

                                         

                                                     







                                                                 


                                      
                                          
                                     




                                                    
         

                                                                




                                                                                       
                                                                             






                                                        
                                                 





                                             
                                          
                                              
                                           
                                
                                








                                            
                                                


                                                          
                                        






                                              





















                                                 
                                          

                                          
                                          






                                                      






                                                 

                                          
                                          
                                                    
                                            



                                                 
                                          
                                                     
                                             

                                                  






                                                    

































                                                       
                                        










                                            

                                        

                                     

                                       
                                                


                                              





























                                          

                                          

                                          





                                          

                                          

                                          

                                          

                                          

                                          

                                          



                                          

                                          



                                             
                                         





                                             
                                              

                                      
                                      


                                        
                                     
                                           
                                
                                

                                           
                                         

                                    
                                              

                                      
                                      
                                  
                                        
                                      
                                     
                                           
                                
                                

                                           
                                         













                                              
                                          
                                              
                                          
                                              
                                          
                                          


                                      


                                             
                                          
                                          

                                          

                                             
                                         











                                            
                                         



                                         

                                       




                                          
                                         

                                          

                                        

                                       



                                        

                                 
                                             



                                                                             

                                           



                                                        
                                            

                                                     
                                                                
                                           
         



                                                              
                                                 
                 
                                            
                 
                                   


                                                              





                                                                                    
                                                                                    





                                                                          
                                                                      
                                                                              
                                                                        
                                                  
                                                  








                                                                          
                                                                                  


                                                                                                      
                                                                  






                                                                              





















                                                                            
                                                              

                                                              
                                                              






                                                                                      






                                                                                  













                                                                                          






                                                                                        

































                                                                                                
                                                                  












                                                                          

                                                            

                                                                
                                                                          


                                                                        















                                                                      

















                                                                      





                                                                      

                                                                      

                                                                      

                                                                      

                                                                      

                                                                      

                                                                      



                                                                      

                                                                      



                                                                        
                                                            





                                                                    
                                                                      

                                                              
                                                              





                                                                
                                                  

                                                                        
                                                                  

                                                  
                                                                      

                                                              
                                                              
                                                      
                                                          
                                                              
                                                            

                                                                
                                                  

                                                                        
                                                                  













                                                                        
                                                              
                                                                      
                                                              
                                                                      
                                                              
                                                                      





                                                                            
                                                                      
                                                                      

                                                                      

                                                                    
                                                                  


































                                                                    
                                                                                      


                                                                                



                                                                                                            
                                                                                    

                                                                                                      
                                                                                  



                                                                           
                                                                                                    







                                                                                           
                                                                                   

                                                                                        
                                              
                                                     









                                                                           










                                                                                               
                                                                                     

                                                                                                                                                                                                                                                       

                                                       





                                                                                                                                                                                                                                  

                                                                                                            






















                                                                                                                                                                                                                                                                                       
                                                                                                                                          




                                                                                                                                             






                                                                                                                                                                                                                 








                                                                                                                                                                                      
                                                                                          
                                                                                    
                                                                          









                                                                                                                                                                                                                                          

                                                                                                                    













                                                                                                                                                                                                                                         


                                                                                                                             
                                                                                                  
                                                                                            
                                                                                  

                                                                                                             
                                                                  
                                                          

                                                  
                                                                    

                                                     






                                                                            
                                                                                                                       
                                                                                                                        

                                       
                                                                                                                                      



                                                   
                                                                                                                                                                                                           


                                                           
                                                                                                                                                                                                                                    

                                          
                                                             






                                                                                        
                                                                                                                 







                                                                                       
                                                                            
                                                                                 


                                                                                                                                   
                                                    
                                                                         

                                                


                          





                                                                                                                





                                                                                                                                                  



                                                                           



                                                                              

                                                                                  

                                                                                          

                                                                                          





                                                                                                        

                                                       


                                                                                                   





                                                                                                                                  



                                                                           



                                                                              

                                                                                  

                                                                                          

                                                                                          





                                                                                                        

                                                       




                                             

                                                                                                                   
                                                                                                












                                                                                                                    
                                                                                                



                                                                                                                      








                                                                                                                      










                                                                                                                   


                          





                                                                                                                      


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         

                                                     
                                                      
                                                                                       


                                                                                                                                                                         

                                                     

                                                                                       


                                                                                                                                                                         



                                                                                       


                                                                                                                                                                         



                                                                                        


                                                                                                                                                                         

                                                     

                                                                                        


                                                                                                                                                                         



                                                                                        


                                                                                                                                                                         



                                                                                        


                                                                                                                                                                         

                                                     













                                                                                                                      











































































































                                                                                                                                  
                                         



                                                                                             











































































































                                                                                                                                  
                                         



                                                                                             











































































































                                                                                                                                  
                                         



                                                                                             











































































































                                                                                                                                  
                                         



                                                                                             











































































































                                                                                                                                  
                                         



                                                                                             











































































































                                                                                                                                  
                                         



                                                                                             











































































































                                                                                                                                  
                                         



                                                                                             











































































































                                                                                                                                  
                                         



                                                                                             











































































































                                                                                                                                  
                                         



                                                                                             











































































































                                                                                                                                  
                                         



                                                                                              




























































































































































































































                                                                                                                                  
                                         



                                                                                              











































































































                                                                                                                                  
                                         



                                                                                              











































































































                                                                                                                                  
                                         



                                                                                              











































































































                                                                                                                                  
                                         



                                                                                              











































































































                                                                                                                                  
                                         



                                                                                              











































































































                                                                                                                                  
                                         

                                                     

                                                                                              











































































































                                                                                                                                  
                                         

                                                     

                                                                                              











































































































                                                                                                                                  
                                         



                                                                                              




























































































































































































































                                                                                                                                  
                                         



                                                                                              











































































































                                                                                                                                  
                                         

                                                     

                                                                                              











































































































                                                                                                                                  


                                                     

                                                                                              











































































































                                                                                                                                  


                                                     

                                                                                              











































































































                                                                                                                                  


                                                     

                                                                                              











































































































                                                                                                                                  


                                                     

                                                                                              











































































































                                                                                                                                  




                                                                                              











































































































                                                                                                                                  


                                                     

                                                                                              











































































































                                                                                                                                  


                                                     





























                                                                                                                     
                                                                         

                                                                             
                                                                            
                                                                                            


                                                                                                                                                                 

                                                                                  
                                                                                        














                                                                                                           




















                                                                                                                     





                                                                                                          




                                                                                 

                                                                                         
                                                                              








                                                                                               









                                                                                                



                                                                           







                                                                                                                       

                                                                                                   













                                                                                                                              

                                                                                                          


                                                                                  


                                                                        
                                                                                                                                                                                                               
                                  
                                                                    






                                                                               
                                                                                                        






                                                                                       
                                                                            
                                                                                 


                                                                                                                                   
                                                    
                                                                

                                                






















                                                                                                                        
                                                                                          


                                                                                          
                                                                              



                                                                                  
                                                       




































                                                                                                                           
                                                                                          


                                                                                          
                                                                              



                                                                                  
                                                       
















                                                                                                                           
                                                                           




                                                                                          




































                                                                                                                           




                                                                                         
                                                                              




                                                                                                                

                                                       

                                       
                                                              

                                                                                                  
                                                               






                                                                                                                           


                          
                                                                                           
                                  

                                                                                                                   
                                      

                                                                                                                                                                                                                                                                                                             
                                                 
                                                                                                                                   

                                                                              





                                                                                                                                                  

                                                                                  

                                                                                                                                 
                                                                                                                                                                                                


                                                                                        
                                                                                                                                                                                                                 
                                                                                                
                                                                          
                                                                  

                                                                                  
                                                                                                                                                 

                                                                                  

                                                                                                                                 
                                                                                                 


                                                                                                                                                                                                                                   

                                                                                  
                                                                                                                                                 
                                                         



                                                                                                                                                                               



                                                                                                                              
                                                                                                                                                                  




                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
                                                                                                                                                                                        




                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
                                                                                                                                                                                        
                                                                          
                                                                  




                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                        




                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                        

                                                                          
                                                                                                                                                      

                                                                                                  
                                                                                                                                                       



                                                                                                                                                                
                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                   


                                                                                                                                                                        
                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                           









                                                                                                                                                                                     


                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                           



                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                                   
                                                                                                                                  

                                                                                                                                         




                                                                                                                                                                         


                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                           

                                                                                                               

                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                   
                                                                                                                  
                                                                                                          
                                                                                                                         






                                                                                                     
                                                                                                                                                      

                                                                                                  




                                                                                                                                                         
                                                                                                                                                                                                                                                                           







                                                                                                                                                                                                                                                                  


                                                                                                                                                                                                                                                                                                   




                                                                                                                                                                         


                                                                                                                                                                                                                                                                                   
                                                                                                  
                                                                                          









                                                                                                                                                       

                                                                                                  
                                                                                                         


                                                                                                                                              
                                                                            





                                                                                                                              
                                          
                                               
                                                                                                                                                               
                                                 





                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                               
                                                                                                
                                                                 
                                                                                                                                                                        
                                                          
                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                             
                                                                                                
                                                                 
                                                                                                                                                                        
                                                          


                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                            


                                                                                                                                                                        
                                                          
                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                              


                                                                                                                                                                        
                                                          
                                                  
                                                                                                                                      





                                                                                                                                         
                                                                                                                                                
                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                   


                                                                                                                                                        
                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                           
                                                                                          

                                                                                                 






                                                                                                                                                                     


                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                           



                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                   
                                                                                                                  

                                                                                                                         




                                                                                                                                                         


                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                           

                                                                                               

                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                   
                                                                                                  
                                                                                          
                                                                                                         

                                                                                  
                                                                  
                                                                                     
                                                                  

                                                                                  
                                                                                                                                      


                                                                                                                                       



                                                                                                                                         
                                                                                                                                                                                                                                                           







                                                                                                                                                                                                                                                  


                                                                                                                                                                                                                                                                                   




                                                                                                                                                         


                                                                                                                                                                                                                                                                   











                                                                                                                                       





                                                                                                                              

                                                            
                                                                                                                                            






















                                                                                                                                                                                                                                                                                                             
                                                         


                                                                                                                                 
                                                                                                                                                                                                


                                                                                        
                                                                                                                                                                                                                 
                                                                                                
                                                                          











                                                                                                                                                                                                                                   







                                                                                                                                                                               



                                                                                                                              
                                                                                                                                                                  

                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                
                                                                                                                                                                                        

                                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                
                                                                                                                                                                                        
                                                                          
                                                                  

                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

                                                                                                                
                                                                                                                                                                                        

                                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

                                                                                                                
                                                                                                                                                                                        
                                                                          
                                                                  
                                                                                                                                                      

                                                                                                  
                                                                                                                                                       



                                                                                                                                                                
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                   


                                                                                                                                                                        
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                           









                                                                                                                                                                                     


                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                           



                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                   
                                                                                                                                  

                                                                                                                                         




                                                                                                                                                                         


                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                           

                                                                                                               

                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                   
                                                                                                                  
                                                                                                          
                                                                                                                         






                                                                                                     
                                                                                                                                                      

                                                                                                  




                                                                                                                                                         
                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                  
                                                                                          





                                                                                                                                                                                     


                                                                                                                                                                                                                                                                                                   




                                                                                                                                                                         


                                                                                                                                                                                                                                                                                   

















                                                                                                                                                       






                                                                                                                              

                                               







                                                                                                                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      


                                                                                                                                                                        
                                                          
                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    


                                                                                                                                                                        
                                                          
                                                  

                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   




                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     


                                                                                                                                                                        
                                                          
                                                  
                                                                                                                                      





                                                                                                                                         
                                                                                                                                                
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                   


                                                                                                                                                        
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                           
                                                                                          

                                                                                                 






                                                                                                                                                                     


                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                           



                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                   
                                                                                                                  

                                                                                                                         




                                                                                                                                                         


                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                           

                                                                                               

                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                   
                                                                                                  
                                                                                          
                                                                                                         
                                                                                  
                                                                          




                                                                                     
                                                                                                                                      


                                                                                                                                       



                                                                                                                                         
                                                                                                                                                                                                                                                           







                                                                                                                                                                                                                                                  


                                                                                                                                                                                                                                                                                   




                                                                                                                                                         


                                                                                                                                                                                                                                                                   
                                                                                  
                                                                          









                                                                                                                                       





                                                                                                                              
                                                            
                                          
                                                                                                                                                          


























                                                                                                                                                                                                                                                                                                             
                                                                                                                                                                                                


                                                                                        
                                                                                                                                                                                                                 
                                                                                                
                                                                          











                                                                                                                                                                                                                                   







                                                                                                                                                                               



                                                                                                                              
                                                                                                                                                                  

                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                
                                                                                                                                                                                        

                                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                
                                                                                                                                                                                        



                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                         

                                                                                                                
                                                                                                                                                                                        

                                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

                                                                                                                
                                                                                                                                                                                        

                                                                          







                                                                                                                                                                
                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                   


                                                                                                                                                                        
                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                           









                                                                                                                                                                                     


                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                           



                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                                   
                                                                                                                                  

                                                                                                                                         




                                                                                                                                                                         


                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                           

                                                                                                               

                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                   
                                                                                                                  
                                                                                                          
                                                                                                                         







                                                                                                                                                      

                                                                                                  

                                                                                                                                                       


                                                                                                                                                         
                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                  






                                                                                                                                                                                     


                                                                                                                                                                                                                                                                                                   




                                                                                                                                                                         


                                                                                                                                                                                                                                                                                   
                                                                                                  
                                                                                          




                                                                                                     
                                                                                                                                                    

                                                                                                  
                                                                                                                                                       
                                                                                                                 

                                                                                                  
                                                                                                         


                                                                                                                                              
                                                                            





                                                                                                                              
                                          
                                               







                                                                                                                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                            




                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                          


                                                                                                                                                                        

                                                          

                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                         


                                                                                                                                                                        
                                                          
                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                           


                                                                                                                                                                        

                                                          
                                                                                                                                      





                                                                                                                                         
                                                                                                                                                
                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                   


                                                                                                                                                        
                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                           
                                                                                          

                                                                                                 
                                                                          





                                                                                                                                                                     


                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                           



                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                   
                                                                                                                  

                                                                                                                         




                                                                                                                                                         


                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                           

                                                                                               

                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                   
                                                                                                  
                                                                                          
                                                                                                         
                                                                                  
                                                                          
                                                                  
                                                                                     
                                                                  

                                                                                  
                                                                                                                                      


                                                                                                                                       
                                                                 


                                                                                                                                         
                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                  

                                                                               




                                                                                                                                                                     


                                                                                                                                                                                                                                                                                   




                                                                                                                                                         


                                                                                                                                                                                                                                                                   

















                                                                                                                                       

                                                            
                                                                                                                                          


























                                                                                                                                                                                                                                                                                                             
                                                                                                                                                                                                


                                                                                        
                                                                                                                                                                                                                 
                                                                                                
                                                                          











                                                                                                                                                                                                                                   







                                                                                                                                                                               



                                                                                                                              
                                                                                                                                                                  

                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

                                                                                                                
                                                                                                                                                                                        

                                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

                                                                                                                
                                                                                                                                                                                        
                                                                          


                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                
                                                                                                                                                                                        

                                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                
                                                                                                                                                                                        

                                                                          
                                                                                                                                                      

                                                                                                  
                                                                                                                                                       



                                                                                                                                                                
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                   


                                                                                                                                                                        
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                           
                                                                                                          








                                                                                                                                                                                     


                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                           



                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                   
                                                                                                                                  

                                                                                                                                         




                                                                                                                                                                         


                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                           

                                                                                                               

                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                   
                                                                                                                  
                                                                                                          
                                                                                                                         
                                                                                                  
                                                                                          
                                                                                  











                                                                                                                                                         
                                                                                                                                                                                                                                                                           







                                                                                                                                                                                                                                                                  


                                                                                                                                                                                                                                                                                                   




                                                                                                                                                                         


                                                                                                                                                                                                                                                                                   




































                                                                                                                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   




                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 






                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                




                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  












                                                                                                                                                                        
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                   


                                                                                                                                                        
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                           









                                                                                                                                                                     


                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                           



                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                   
                                                                                                                  

                                                                                                                         




                                                                                                                                                         


                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                           

                                                                                               

                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                   
                                                                                                  
                                                                                          
                                                                                                         













                                                                                                                                         
                                                                                                                 
                                                                                                                                                                                                                                                           







                                                                                                                                                                                                                                                  


                                                                                                                                                                                                                                                                                   




                                                                                                                                                         


                                                                                                                                                                                                                                                                   




















                                                                                                                                       
                                          
                                                                                                                                                        
                                  
                                                     
                                  


                          
                                                                                           
                                  

                                                                                                                   
                                      

                                                                                                                                                                             
                                                 

                                                                                                                                   
                                                 


                                                                                                                                            
                                                 

                                                                                                                                                  
                                                         




                                                                                                                                                                                                     
                                                                  


                                                                                                                                                 
                                                         

                                                                                                                                 
                                                                 




























                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                  


































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
                                                 

                                                                                                              
                                                 






                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                          




                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                          































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                     

                          
                 
                                                                                      
                                  


                                                                                                          

                          
                 
                                                                              


                                                          




































                                                                                                                                                                   

                                                     
                                                                                                                                                                             


                                  
                 
                                                                                     
                                  


                                                                                                                    

                          
                 
                                                                             


                                                          




































                                                                                                                                                                                                            

                                                     
                                                                                                                                                                                 


                                  
                 
                                                                                  
                                  


                                                                                                                   
                          


                                                                          
                                  



                                                           
                                                                          




                                                                                               
                                                                                           



                                                                          









                                                                                                                                                                                                                                                                                                  
                                          



                                                                   
                          
                    
                 




                                                                                                           
                          




                                                                         
                                      
                                                                                                                                           
                                         
                                                                                                                       

                                                                      

                                                                                                                                 

                                                                          
                                                                                                                   
                                                                                         








                                                                                                                                                                                                             

                                                                  
                                                                               

                                                                          
                                                                                                                                   

                                                                          

                                                                                                                   
                                                                                         












                                                                                                                                                                                                            
                                                                







                                                                                                                                  


                                                                                                                      
                                                                  

                                                     
                                                                                                                                                                                 

                                  








































                                                                                                                                               
                                                 










                                                                                                                                        
                                                 




























































































                                                                                                                                                                                                                          
                                  








                                                                                      
                          













                                            




                                     
































































































































































































































































                                                                                                                                                                                                                                                                       



















                                                                                                                                                                                                                                                                                           




                                                                                                                                                               












































                                                                                                                                                                                                                                                                                                













                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                








                                                                                                                                                                                                                                                                                        










                                                                                                                                                                                                         




                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                

















                                                                                                                                                                                                                                
                  
                 


          


                                                                                                              
                  

                                                                                                                      
                                 
                          

                  




                                                                                                                                                 
                  

                                                                                                        
                  








                                                                                                                                                         
                  






































































































                                                                                                                                                                                                                                                                 
                  

          
         





































































































                                                                                                                                                                                                                       

          
         
                                                                              








                                                                                                                                           
                                                                                                                                               

























                                                                                                                                                                                                                                                                                           




                                                                                                                                                               












































                                                                                                                                                                                                                                                                                                













                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                              








                                                                                                                                                                                                                                                                                        

                                                                                                                                                                             

                                                                                                                                  

















                                                                                                                                                                                                                                        








                                                                                                                                                                                                                               
                  
                 


          






                                                   


          



                                                                                               

          




























                                                                                                                                                                                           
                         








                                                                                                                                                                         
                          



























                                                                                         
                                         























































                                                                                                                                                                                           
                                          

















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 




                                                                                                              


























































































































































                                                                                                                                                          




                                                                                                                                          












                                                                                                                                  



                                                                                                                      
                                                                                                              



                                                                                                                                






























                                                                                                                                                              
                                                                                                                                          





















































                                                                                                                                                                  




                                                                                                                                                  












                                                                                                                                          



                                                                                                                              
                                                                                                                      



                                                                                                                                        






























                                                                                                                                                                      
                                                                                                                                                  





















































                                                                                                                                                                          




                                                                                                                                                          












                                                                                                                                                  



                                                                                                                                      
                                                                                                                              



                                                                                                                                                






























                                                                                                                                                                              
                                                                                                                                                          





















































                                                                                                                                                                                  




                                                                                                                                                                  












                                                                                                                                                          



                                                                                                                                              
                                                                                                                                      



                                                                                                                                                        






























                                                                                                                                                                                      
                                                                                                                                                                  





















































                                                                                                                                                                                          




                                                                                                                                                                          












                                                                                                                                                                  



                                                                                                                                                      
                                                                                                                                              



                                                                                                                                                                






























                                                                                                                                                                                              
                                                                                                                                                                          





















































                                                                                                                                                                                                  




                                                                                                                                                                                  












                                                                                                                                                                          



                                                                                                                                                              
                                                                                                                                                      



                                                                                                                                                                        






























                                                                                                                                                                                                      
                                                                                                                                                                                  





















































                                                                                                                                                                                                          




                                                                                                                                                                                          












                                                                                                                                                                                  



                                                                                                                                                                      
                                                                                                                                                              



                                                                                                                                                                                






























                                                                                                                                                                                                              
                                                                                                                                                                                          





















































                                                                                                                                                                                                                  




                                                                                                                                                                                                  












                                                                                                                                                                                          



                                                                                                                                                                              
                                                                                                                                                                      



                                                                                                                                                                                        






























                                                                                                                                                                                                                      
                                                                                                                                                                                                  





















































                                                                                                                                                                                                                          




                                                                                                                                                                                                          












                                                                                                                                                                                                  



                                                                                                                                                                                      
                                                                                                                                                                              



                                                                                                                                                                                                






























                                                                                                                                                                                                                              
                                                                                                                                                                                                          





















































                                                                                                                                                                                                                                  




                                                                                                                                                                                                                  












                                                                                                                                                                                                          



                                                                                                                                                                                              
                                                                                                                                                                                      



                                                                                                                                                                                                        






























                                                                                                                                                                                                                                      
                                                                                                                                                                                                                  





















































                                                                                                                                                                                                                                          




                                                                                                                                                                                                                          












                                                                                                                                                                                                                  



                                                                                                                                                                                                      
                                                                                                                                                                                              



                                                                                                                                                                                                                






























                                                                                                                                                                                                                                              
                                                                                                                                                                                                                          





















































                                                                                                                                                                                                                                                  




                                                                                                                                                                                                                                  












                                                                                                                                                                                                                          



                                                                                                                                                                                                              
                                                                                                                                                                                                      



                                                                                                                                                                                                                        






























                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                  





















































                                                                                                                                                                                                                                                          




                                                                                                                                                                                                                                          












                                                                                                                                                                                                                                  



                                                                                                                                                                                                                      
                                                                                                                                                                                                              



                                                                                                                                                                                                                                






























                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                          





















































                                                                                                                                                                                                                                                                  




                                                                                                                                                                                                                                                  












                                                                                                                                                                                                                                          



                                                                                                                                                                                                                              
                                                                                                                                                                                                                      



                                                                                                                                                                                                                                        






























                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                  





















































                                                                                                                                                                                                                                                                          




                                                                                                                                                                                                                                                          












                                                                                                                                                                                                                                                  



                                                                                                                                                                                                                                      
                                                                                                                                                                                                                              



                                                                                                                                                                                                                                                






























                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                          





















































                                                                                                                                                                                                                                                                                  




                                                                                                                                                                                                                                                                  












                                                                                                                                                                                                                                                          



                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                      



                                                                                                                                                                                                                                                        






























                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                  





















































                                                                                                                                                                                                                                                                                          




                                                                                                                                                                                                                                                                          












                                                                                                                                                                                                                                                                  



                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                              



                                                                                                                                                                                                                                                                






























                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                          





















































                                                                                                                                                                                                                                                                                                  




                                                                                                                                                                                                                                                                                  












                                                                                                                                                                                                                                                                          



                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                      



                                                                                                                                                                                                                                                                        






























                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                  





















































                                                                                                                                                                                                                                                                                                          




                                                                                                                                                                                                                                                                                          












                                                                                                                                                                                                                                                                                  



                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                              



                                                                                                                                                                                                                                                                                






























                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                          





















































                                                                                                                                                                                                                                                                                                                  




                                                                                                                                                                                                                                                                                                  












                                                                                                                                                                                                                                                                                          



                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                      



                                                                                                                                                                                                                                                                                        






























                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                  





















































                                                                                                                                                                                                                                                                                                                          




                                                                                                                                                                                                                                                                                                          












                                                                                                                                                                                                                                                                                                  



                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                              



                                                                                                                                                                                                                                                                                                






























                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                          





















































                                                                                                                                                                                                                                                                                                                                  




                                                                                                                                                                                                                                                                                                                  












                                                                                                                                                                                                                                                                                                          



                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                      



                                                                                                                                                                                                                                                                                                        






























                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                  





















































                                                                                                                                                                                                                                                                                                                                          




                                                                                                                                                                                                                                                                                                                          












                                                                                                                                                                                                                                                                                                                  



                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                          








































                                                                                                                                                                                                                                                                                                                                                  



                                                                                                                                                                                                                                                                                                 

                                                                                                                                                                                                                                  
                                                                                                                                                                                                                  
                                                                                                                                                                                                          
                                                                                                                                                                                                  
                                                                                                                                                                                          


                                                                                                                                                                                  
                                                                                                                                                          




                                                                                                                                                  
                                                                                                          
                                                                                                  
                                                                                          






                                                                                  
                          



                  























                                                       
                                        
                                         
                                         

                                                       
                                           

















                                                                                                                                                                           

          
         
































                                                                                                                                                                           

          
         




                                                                
                                                     


                                                             
                                                             











                                                                                   
























                                                                                             











                                                                                                          


                                                         
                                               













                                                                       
                                                      
























                                                                        


          



                                                                                                                                           
                 
                                                        

                                  
                                                         

                                                
                                                               

                                                

          
          


                         
          
         


                                     

                 

         
















                                                                                                                                                                           
                                                                                 





































                                                                                                                                                                           
                                          



                                                                          
          
         
         










                                                                                                         
                                                                  


                                                                                                         
                                                                  


                                                                                                         
                                                                      


                                                                                                         
                                                                  
                          



                                                                                                         


          


                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       


          


                                                                                                                        
                                         

                                                 


          



























                                                                                                                                                                                     
                  

                                                   
                                                                                                                                                                             


                                                                                                            






































































                                                                                                                                                                                                                                             





                                                       








                                                                                                                                                                                     


                                               







                                                                                                                              


                                                      









                                                                                               

          

                         

                                                       








                                                                                                                                                                                                                                                           


                                               







                                                                                                                              


                                                      









                                                                                               

          
                         



                                                                              



































                                                                                                                                                                                                                                                                                           




                                                                                                                                                               












































                                                                                                                                                                                                                                                                                                













                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                             









                                                                                                                                                                                                                                                                                                                                



































                                                                                                                                                                                                                                                                                                                                                                                                                                      
                  
                 

          





































                                                                                                                                                                                                                                                                                           




                                                                                                                                                               












































                                                                                                                                                                                                                                                                                                













                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                             









                                                                                                                                                                                                                                                                                                                                




















                                                                                                                                                                                                                                                                                                                                                                                                                                                                      








                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                             







                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                             






























































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
                  
                 

          



                                                        








                                                                                                                                                                                     


                                                






                                                                                                                              


                                                       









                                                                                               

          

                         

                                                        









                                                                                                                                                                                                                                                                    


                                                






                                                                                                                              


                                                       









                                                                                               

          
                         










































                                                                                                                                                                                                                                                        


















                                                                                                                                                                                                                                                  















                                                                                                                                                                                                                                                             
                                                                                          





                                                                                                                                                                                                                         
                                                                                                  
                                                                                  








                                                                                                                                                                               
                                                  





















































































                                                                                                                                          




















                                                                                                                                                              

                             
                                                                                                                                                                    
                                        
                                                                                                                                                                                                          
                  
                 














                                                                                                                                                                                            
                                                                                                                                                                        




                                                                                                                                                                                            
                                                                                                                                                           




                                                                                                                                                                               
                                                                                                            









                                                                                                                                        
                                                                                                              




                                                                                                                                
                                                                                                                        




                                                                                                                            
                                                                                                                                                                                                                                          
                                                  
                                                 



                                          
                                                    







                                                                                                          
                                                                                                     
                                                                                                   
                                                                                                   
                                                                                                   

                                                                                                   
                                                                                                        




                                                                                                              
                                                                                                           
                                                                                                             
                                                                                                             

                                                                                                             











                                                                                                                























                                                                                                               







                                                                                                                     

                                                                                                                          


                                                                                                          





                                                                                                                    


                                                                                                                                                                                                               
                                                                                                                                                                                                           

                                                                                                                                                                                                           



                                                                                                                                                                                                            


                                                                                                                                                                                                            




















                                                                                                                                                                                                                   







                                                      
                                                      
                                                          












                                                                                                                         


                                                                                                                        

























                                                                                                                                                         
                                                                                          








                                                                                                     





                                                                               
                                                                                                        





                                                                                                               
                                                                                                                                         





                                                                                                                                               
                                                                                                                                                                            



                                                                                                                                                                               

                                                                                                                                                                            
                                                                                                                                                                                                             
                                                                                                                                                          
                                                                                                                                                    
                                                                                                                                          
                                                                                                                                   
                                                                                                                                                                    

                                                                                                                          
                                                                                                          
                                                                                                   





                                                                                                                                    
                                                          












                                                                                                                                                                                             
                                                                         

















































































                                                                                                                                                   



                                                                                                                         
                                                                                                                      
                                                                                                                          



                                                                                                                                                

                                                                               
                                                                                                                                            



                                                                                                                                 
                                                                                                                              
                                                                                                                                  



                                                                                                                                                        

                                                                                  

                                                                                                                          
                                                                                                                          
                                                                                                                          






                                                                                                                                                                   



                                                                                                                                                         
                                                                                                                                                      
                                                                                                                                                          



                                                                                                                                                                                

                                                                                                               
                                                                                                                                                                            



                                                                                                                                                                 
                                                                                                                                                              
                                                                                                                                                                  



                                                                                                                                                                                        
                                                                                                                  
                                                                                                          

                                                                                                                                                          
                                                                                                                                                          
                                                                                                                                                          





                                                                                                                                                       



                                                                                                                                                                              

                                                                                                                                                                                  

                                                                                                                                                                                          



                                                                                                                                                                                                        
                                                                                                                                                                  




                                                                                                                                                                                       



                                                                                                                                                                                                              

                                                                                                                                                                                                                     

                                                                                                                                                                                                                          





























                                                                                                                                                                                                                                                                                                                                                                                                     



                                                                                                                                                                  
                                                                                                                                                                            
                                                                                                                                  
                                                                                                                            
                                                                                                                  

                                                                                                                                            
                                                                                                  











                                                                                                                                                                                                              
                                                     




                                                     
                                                                      







                                                                                                                       
                  

                                                                           
































                                                                                                      
                             
                            






                                                                           




                                                                                                          





                                                                       

                                                                                                                                                                                                                                

                                                                                                          



                                                                                                                                                                                                                                           

                                                                                                                  





                                                                                                                                                                                                                                                                       

                                                                                                                          
                                                                          
                                                                  
                                                          
                                                  





                                                            













                                                                                                                                                                                                                        


                  




                                  
                               











                                                                                                                               








                                                                                                                                                                                                                                                                                                                                                                                 
                                                                                                                             







                                                                                                                                                                                                                                                                                                              
                                                                                                                             














































































                                                                                                                                                                                                                                                           
                                                             


















                                                                                                                               








                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                             







                                                                                                                                                                                                                                                                                                                       
                                                                                                                             














































































                                                                                                                                                                                                                                                           
                                                             


















                                                                                                                               












































                                                                                                                                                                                                                                                                                                                                                 
                                                                             








                                                                                                                                                                                                                                                                              
                                                                             









                                                                                                                                                                                                                   































































































                                                                                                                                                                                                                                                                                                                                                          






                                                                                                                                                       
                                                                                                                                                                                                           


















                                                                                                                                 
                                                                                            











                                                                                                                                                              
                                                                                                                                                                                                           




                                                                                                                       


































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                  





                                                                                                                                                                                                                               



                 


                                                                                                                                                                                                                                     




                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                       
                                                                                             






                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                   
                                                                                                       
                                                                                             

















                                                                                                                                                                                                                   
                                                                                                                                                                                                          


















                                                                                                                                 
                                                                                        











                                                                                                                                                              
                                                                                                                                                                                                          




















                                                                                                                                 
         


















































































































                                                                                                                                                                                                                                                                                                                                                                                      

          










































                                                                                                                           
                                                     

                                                                                                                           
                                                  








                                                                      
                          
















































                                                                                                                                         

                                                                                                                           



























































                                                                                                                         

                                                                                                                           



























































                                                                                                                                       

                                                                                                                           









                                                                      

                          
                                      


                  





























































                                                                                                                           






























                                                                                           

                                                                               

                              


                                                                                                                                                 

                                                                                                                           
                                                  







                                             




































                                                                                        
                                          



                                                                                                                           
                                             



                                                                       
                                              

                                                                        
  
package com.xc3fff0e.xmanager;

import com.xc3fff0e.xmanager.SplashActivity;
import android.Manifest;
import android.animation.*;
import android.app.*;
import android.app.Activity;
import android.content.*;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.content.res.*;
import android.graphics.*;
import android.graphics.Typeface;
import android.graphics.drawable.*;
import android.media.*;
import android.net.*;
import android.net.Uri;
import android.os.*;
import android.text.*;
import android.text.Editable;
import android.text.TextWatcher;
import android.text.style.*;
import android.util.*;
import android.view.*;
import android.view.View;
import android.view.View.*;
import android.view.animation.*;
import android.webkit.*;
import android.widget.*;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.BaseAdapter;
import android.widget.CompoundButton;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.ScrollView;
import android.widget.Spinner;
import android.widget.Switch;
import android.widget.TextView;
import androidx.annotation.*;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import androidx.core.content.FileProvider;
import androidx.fragment.app.DialogFragment;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout.OnRefreshListener;
import com.google.android.gms.ads.MobileAds;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.wuyr.rippleanimation.*;
import java.io.*;
import java.io.File;
import java.text.*;
import java.text.DecimalFormat;
import java.util.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Timer;
import java.util.TimerTask;
import java.util.regex.*;
import org.json.*;
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_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 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 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 double CLICKER_1 = 0;
	private double CLICKER_2 = 0;
	private double CLICKER_3 = 0;
	private  AlertDialog AlertDialog;
	private String fixer_0 = "";
	private String Lite = "";
	private double CLICKER_4 = 0;
	private double Installed_Version_Lite = 0;
	private double Downloaded_Version_Lite = 0;
	private String Installed_Checker_Lite = "";
	
	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 ArrayList<HashMap<String, Object>> lite = 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 hidden_download;
	private TextView installation_failed;
	private TextView existing_patched;
	private TextView close;
	private TextView fixer;
	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 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_17;
	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_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_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 TextView manager_lang_24;
	private TextView translator_24;
	private TextView manager_lang_25;
	private TextView translator_25;
	private TextView manager_lang_26;
	private TextView translator_26;
	private TextView manager_lang_27;
	private TextView translator_27;
	private TextView manager_lang_28;
	private TextView translator_28;
	private TextView manager_lang_29;
	private TextView translator_29;
	private ScrollView main_scroll_body;
	private LinearLayout main_body;
	private LinearLayout main_box_1;
	private LinearLayout main_box_2;
	private LinearLayout main_box_3;
	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 ImageView version_oc_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_2_sub;
	private TextView amoled_info;
	private TextView sub_text_2;
	private LinearLayout box_switch_2;
	private TextView sub_3;
	private TextView sub_7;
	private TextView version_switch_2;
	private LinearLayout box_sub_6;
	private ImageView version_oc_02;
	private LinearLayout box_7;
	private LinearLayout box_8;
	private LinearLayout box_separator_5;
	private LinearLayout box_9;
	private ListView list_menu_5;
	private TextView title_3;
	private LinearLayout box_3_sub;
	private TextView lite_info;
	private TextView sub_text_3;
	private LinearLayout box_switch_3;
	private TextView sub_9;
	private TextView version_switch_3;
	private LinearLayout box_sub_7;
	private ImageView version_oc_03;
	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_1;
	private TextView sub_installed_c;
	private TextView sub_separator_2;
	private TextView sub_installed_l;
	private TextView changelogs;
	private LinearLayout box_changelogs;
	private ImageView changelogs_oc;
	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 FileProvider FileProvider;
	private File File_Fixer;
	private SharedPreferences LIST_REFRESH;
	private SharedPreferences APK_PATH;
	private SharedPreferences FORCE_INSTALL;
	private SharedPreferences FORCE_INSTALL_UPDATE;
	private SharedPreferences LANGUAGE;
	private SharedPreferences CLONED_VERSION;
	private SharedPreferences DISABLE_REWARD_AD;
	private Intent External_Storage_Manager = new Intent();
	private SharedPreferences AD_UNIT;
	
	@Override
	protected void onCreate(Bundle _savedInstanceState) {
		super.onCreate(_savedInstanceState);
		setContentView(R.layout.main);
		initialize(_savedInstanceState);
		
		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);
		hidden_download = findViewById(R.id.hidden_download);
		installation_failed = findViewById(R.id.installation_failed);
		existing_patched = findViewById(R.id.existing_patched);
		close = findViewById(R.id.close);
		fixer = findViewById(R.id.fixer);
		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);
		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_17 = findViewById(R.id.main_box_17);
		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_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_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);
		manager_lang_24 = findViewById(R.id.manager_lang_24);
		translator_24 = findViewById(R.id.translator_24);
		manager_lang_25 = findViewById(R.id.manager_lang_25);
		translator_25 = findViewById(R.id.translator_25);
		manager_lang_26 = findViewById(R.id.manager_lang_26);
		translator_26 = findViewById(R.id.translator_26);
		manager_lang_27 = findViewById(R.id.manager_lang_27);
		translator_27 = findViewById(R.id.translator_27);
		manager_lang_28 = findViewById(R.id.manager_lang_28);
		translator_28 = findViewById(R.id.translator_28);
		manager_lang_29 = findViewById(R.id.manager_lang_29);
		translator_29 = findViewById(R.id.translator_29);
		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_3 = findViewById(R.id.main_box_3);
		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_oc_01 = findViewById(R.id.version_oc_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_2_sub = findViewById(R.id.box_2_sub);
		amoled_info = findViewById(R.id.amoled_info);
		sub_text_2 = findViewById(R.id.sub_text_2);
		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_oc_02 = findViewById(R.id.version_oc_02);
		box_7 = findViewById(R.id.box_7);
		box_8 = findViewById(R.id.box_8);
		box_separator_5 = findViewById(R.id.box_separator_5);
		box_9 = findViewById(R.id.box_9);
		list_menu_5 = findViewById(R.id.list_menu_5);
		title_3 = findViewById(R.id.title_3);
		box_3_sub = findViewById(R.id.box_3_sub);
		lite_info = findViewById(R.id.lite_info);
		sub_text_3 = findViewById(R.id.sub_text_3);
		box_switch_3 = findViewById(R.id.box_switch_3);
		sub_9 = findViewById(R.id.sub_9);
		version_switch_3 = findViewById(R.id.version_switch_3);
		box_sub_7 = findViewById(R.id.box_sub_7);
		version_oc_03 = findViewById(R.id.version_oc_03);
		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_1 = findViewById(R.id.sub_separator_1);
		sub_installed_c = findViewById(R.id.sub_installed_c);
		sub_separator_2 = findViewById(R.id.sub_separator_2);
		sub_installed_l = findViewById(R.id.sub_installed_l);
		changelogs = findViewById(R.id.changelogs);
		box_changelogs = findViewById(R.id.box_changelogs);
		changelogs_oc = findViewById(R.id.changelogs_oc);
		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);
		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);
		LANGUAGE = getSharedPreferences("LANGUAGE", Activity.MODE_PRIVATE);
		CLONED_VERSION = getSharedPreferences("CLONED_VERSION", Activity.MODE_PRIVATE);
		DISABLE_REWARD_AD = getSharedPreferences("DISABLE_REWARD_AD", 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();
															                }
														            });
													 Update_Authorized.setNeutralButton(not_now.getText().toString(), new DialogInterface.OnClickListener(){
														
														                @Override
														                public void onClick(DialogInterface Update_Authorized, int p) {
															AlertDialog.setCancelable(true);
															                }
														            });
													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();
													}
													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.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/");
				}
				else {
					if (!FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/")) {
						
					}
				}
				if (DELETE == 1) {
					com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Successfully Deleted", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
				}
				else {
					if (DELETE == 0) {
						com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Directory folder not found or deleted", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).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();
			}
		});
		
		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("Ad-free, unlimited skips, play on-demand and new features but in CLONED VERSION!");
					amoled_info.setText("Same features combined with amoled black theme but in CLONED VERSION!");
					regular_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 0);
					amoled_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 0);
					regular_info.setTextSize((int)12);
					amoled_info.setTextSize((int)12);
					sub_1.setVisibility(View.GONE);
					sub_3.setVisibility(View.GONE);
					sub_5.setVisibility(View.VISIBLE);
					sub_7.setVisibility(View.VISIBLE);
					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_menu_5.setVisibility(View.GONE);
					list_changelogs.setVisibility(View.GONE);
					version_oc_01.setImageResource(R.drawable.close);
					version_oc_02.setImageResource(R.drawable.close);
					version_oc_03.setImageResource(R.drawable.close);
					changelogs_oc.setImageResource(R.drawable.close);
					list_menu_3.setAdapter(new List_menu_3Adapter(regular_cloned));
					list_menu_4.setAdapter(new List_menu_4Adapter(amoled_cloned));
					((BaseAdapter)list_menu_3.getAdapter()).notifyDataSetChanged();
					((BaseAdapter)list_menu_4.getAdapter()).notifyDataSetChanged();
					CLICKER_1 = 1;
					CLICKER_2 = 1;
					CLICKER_3 = 1;
					CLICKER_4 = 1;
				}
				else {
					CLONED_VERSION.edit().putString("CLONED", "OFF").commit();
					regular_info.setText("Ad-free, unlimited skips, play on-demand and new features!");
					amoled_info.setText("Same features but in amoled black theme!");
					regular_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 0);
					amoled_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 0);
					regular_info.setTextSize((int)12);
					amoled_info.setTextSize((int)12);
					sub_1.setVisibility(View.VISIBLE);
					sub_3.setVisibility(View.VISIBLE);
					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_menu_5.setVisibility(View.GONE);
					list_changelogs.setVisibility(View.GONE);
					version_oc_01.setImageResource(R.drawable.close);
					version_oc_02.setImageResource(R.drawable.close);
					version_oc_03.setImageResource(R.drawable.close);
					changelogs_oc.setImageResource(R.drawable.close);
					list_menu_1.setAdapter(new List_menu_1Adapter(regular));
					list_menu_2.setAdapter(new List_menu_2Adapter(amoled));
					((BaseAdapter)list_menu_1.getAdapter()).notifyDataSetChanged();
					((BaseAdapter)list_menu_2.getAdapter()).notifyDataSetChanged();
					CLICKER_1 = 1;
					CLICKER_2 = 1;
					CLICKER_3 = 1;
					CLICKER_4 = 1;
				}
				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();
				}
				else {
					FORCE_INSTALL.edit().putString("FORCE_INSTALL", "Y").commit();
					FORCE_INSTALL_UPDATE.edit().putString("FORCE_INSTALL_UPDATE", "YY").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;
			}
		});
		
		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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url);
					continue_1.setText(R.string.continue_1);
					cancel.setText(R.string.cancel);
					fixer.setText(R.string.fixer);
					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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_01);
					continue_1.setText(R.string.continue_1_01);
					cancel.setText(R.string.cancel_01);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_02);
					continue_1.setText(R.string.continue_1_02);
					cancel.setText(R.string.cancel_02);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_03);
					continue_1.setText(R.string.continue_1_03);
					cancel.setText(R.string.cancel_03);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_04);
					continue_1.setText(R.string.continue_1_04);
					cancel.setText(R.string.cancel_04);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_05);
					continue_1.setText(R.string.continue_1_05);
					cancel.setText(R.string.cancel_05);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_06);
					continue_1.setText(R.string.continue_1_06);
					cancel.setText(R.string.cancel_06);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_07);
					continue_1.setText(R.string.continue_1_07);
					cancel.setText(R.string.cancel_07);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_08);
					continue_1.setText(R.string.continue_1_08);
					cancel.setText(R.string.cancel_08);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_09);
					continue_1.setText(R.string.continue_1_09);
					cancel.setText(R.string.cancel_09);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_10);
					continue_1.setText(R.string.continue_1_10);
					cancel.setText(R.string.cancel_10);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_11);
					continue_1.setText(R.string.continue_1_11);
					cancel.setText(R.string.cancel_11);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_12);
					continue_1.setText(R.string.continue_1_12);
					cancel.setText(R.string.cancel_12);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_13);
					continue_1.setText(R.string.continue_1_13);
					cancel.setText(R.string.cancel_13);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_14);
					continue_1.setText(R.string.continue_1_14);
					cancel.setText(R.string.cancel_14);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_15);
					continue_1.setText(R.string.continue_1_15);
					cancel.setText(R.string.cancel_15);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_16);
					continue_1.setText(R.string.continue_1_16);
					cancel.setText(R.string.cancel_16);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_17);
					continue_1.setText(R.string.continue_1_17);
					cancel.setText(R.string.cancel_17);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_18);
					continue_1.setText(R.string.continue_1_18);
					cancel.setText(R.string.cancel_18);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_19);
					continue_1.setText(R.string.continue_1_19);
					cancel.setText(R.string.cancel_19);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_20);
					continue_1.setText(R.string.continue_1_20);
					cancel.setText(R.string.cancel_20);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_21);
					continue_1.setText(R.string.continue_1_21);
					cancel.setText(R.string.cancel_21);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_22);
					continue_1.setText(R.string.continue_1_22);
					cancel.setText(R.string.cancel_22);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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;
				}
				if (_position == 23) {
					LANGUAGE.edit().putString("LANGUAGE", "23").commit();
					title_1.setText(R.string.spotify_regular_23);
					title_2.setText(R.string.spotify_amoled_23);
					sub_text_installed.setText(R.string.installed_23);
					sub_text_1.setText(R.string.latest_23);
					sub_text_2.setText(R.string.latest_23);
					sub_text_3.setText(R.string.latest_23);
					version_switch_1.setText(R.string.versions_23);
					version_switch_2.setText(R.string.versions_23);
					version_switch_3.setText(R.string.versions_23);
					changelogs.setText(R.string.changelogs_23);
					title_sub.setText(R.string.manager_tools_23);
					device_cpu.setText(R.string.device_cpu_23);
					source.setText(R.string.source_23);
					support.setText(R.string.support_23);
					donate.setText(R.string.donate_23);
					about.setText(R.string.about_23);
					list_auto_refresh.setText(R.string.list_auto_refresh_23);
					list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_23);
					force_auto_install.setText(R.string.force_auto_install_23);
					force_auto_install_info.setText(R.string.force_auto_install_desc_23);
					theme.setText(R.string.show_themes_23);
					apk_location.setText(R.string.apk_location_23);
					apk_location_info.setText(R.string.apk_location_desc_23);
					clear_directory_folders.setText(R.string.clear_directory_folders_23);
					clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_23);
					reset_settings.setText(R.string.reset_settings_23);
					sub_title.setText(R.string.about_sub_23);
					developer_manager.setText(R.string.xmanager_dev_23);
					developer_spotify.setText(R.string.spotify_mod_devs_23);
					support_team.setText(R.string.telegram_support_team_23);
					mod_testers_1.setText(R.string.manager_testers_23);
					mod_testers_2.setText(R.string.manager_hosting_23);
					mobilism_team.setText(R.string.mobilism_team_23);
					forum_team.setText(R.string.forum_team_23);
					manager_team.setText(R.string.xspotify_team_23);
					contributors_1.setText(R.string.contributors_23);
					download_selected.setText(R.string.download_selected_23);
					download_ready.setText(R.string.download_ready_23);
					download_ready_desc.setText(R.string.download_ready_desc_23);
					downloading_file.setText(R.string.downloading_file_23);
					download_success.setText(R.string.download_success_23);
					new_update.setText(R.string.new_update_23);
					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.setText(R.string.copy_url_23);
					continue_1.setText(R.string.continue_1_23);
					cancel.setText(R.string.cancel_23);
					fixer.setText(R.string.fixer_23);
					download.setText(R.string.download_23);
					later.setText(R.string.later_23);
					install_now.setText(R.string.install_now_23);
					install_update.setText(R.string.install_update_23);
					go_back.setText(R.string.go_back_23);
					download_update.setText(R.string.download_update_23);
					not_now.setText(R.string.not_now_23);
					show_support.setText(R.string.show_support_23);
					show_support_desc.setText(R.string.show_support_desc_23);
					copy_url_0 = copy_url.getText().toString();
					download_0 = download.getText().toString();
					continue_0 = continue_1.getText().toString();
					cancel_0 = cancel.getText().toString();
					fixer_0 = fixer.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_23);
					settings_title.setText(R.string.settings_title_23);
					about_title.setText(R.string.about_title_23);
					maintenance.setText(R.string.maintenance_23);
					maintenance_desc.setText(R.string.maintenance_desc_23);
					thanks.setText(R.string.thanks_23);
					language.setText(R.string.language_23);
					website.setText(R.string.website_23);
					discord.setText(R.string.discord_23);
					reddit.setText(R.string.reddit_23);
					faq.setText(R.string.faq_23);
					cloned_version.setText(R.string.cloned_version_23);
					cloned_version_info.setText(R.string.cloned_version_desc_23);
					disable_reward_ad.setText(R.string.disable_rewarded_ads_23);
					disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_23);
					installation_failed.setText(R.string.installation_failed_23);
					installation_failed_desc.setText(R.string.installation_failed_desc_23);
					installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_23);
					installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_23);
					existing_patched.setText(R.string.existing_patched_23);
					existing_patched_desc.setText(R.string.existing_patched_desc_23);
					close.setText(R.string.close_23);
					cloned.setText(R.string.cloned_23);
					ream.setText(R.string.ream_23);
					install.setText(R.string.install_23);
					uninstall.setText(R.string.uninstall_23);
					ignore.setText(R.string.ignore_23);
					delete.setText(R.string.delete_23);
					uninstall_patched.setText(R.string.uninstall_patched_23);
					open_settings.setText(R.string.open_settings_23);
					open_patched.setText(R.string.open_patched_23);
					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 == 24) {
					LANGUAGE.edit().putString("LANGUAGE", "24").commit();
					title_1.setText(R.string.spotify_regular_24);
					title_2.setText(R.string.spotify_amoled_24);
					sub_text_installed.setText(R.string.installed_24);
					sub_text_1.setText(R.string.latest_24);
					sub_text_2.setText(R.string.latest_24);
					sub_text_3.setText(R.string.latest_24);
					version_switch_1.setText(R.string.versions_24);
					version_switch_2.setText(R.string.versions_24);
					version_switch_3.setText(R.string.versions_24);
					changelogs.setText(R.string.changelogs_24);
					title_sub.setText(R.string.manager_tools_24);
					device_cpu.setText(R.string.device_cpu_24);
					source.setText(R.string.source_24);
					support.setText(R.string.support_24);
					donate.setText(R.string.donate_24);
					about.setText(R.string.about_24);
					list_auto_refresh.setText(R.string.list_auto_refresh_24);
					list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_24);
					force_auto_install.setText(R.string.force_auto_install_24);
					force_auto_install_info.setText(R.string.force_auto_install_desc_24);
					theme.setText(R.string.show_themes_24);
					apk_location.setText(R.string.apk_location_24);
					apk_location_info.setText(R.string.apk_location_desc_24);
					clear_directory_folders.setText(R.string.clear_directory_folders_24);
					clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_24);
					reset_settings.setText(R.string.reset_settings_24);
					sub_title.setText(R.string.about_sub_24);
					developer_manager.setText(R.string.xmanager_dev_24);
					developer_spotify.setText(R.string.spotify_mod_devs_24);
					support_team.setText(R.string.telegram_support_team_24);
					mod_testers_1.setText(R.string.manager_testers_24);
					mod_testers_2.setText(R.string.manager_hosting_24);
					mobilism_team.setText(R.string.mobilism_team_24);
					forum_team.setText(R.string.forum_team_24);
					manager_team.setText(R.string.xspotify_team_24);
					contributors_1.setText(R.string.contributors_24);
					download_selected.setText(R.string.download_selected_24);
					download_ready.setText(R.string.download_ready_24);
					download_ready_desc.setText(R.string.download_ready_desc_24);
					downloading_file.setText(R.string.downloading_file_24);
					download_success.setText(R.string.download_success_24);
					new_update.setText(R.string.new_update_24);
					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.setText(R.string.copy_url_24);
					continue_1.setText(R.string.continue_1_24);
					cancel.setText(R.string.cancel_24);
					fixer.setText(R.string.fixer_24);
					download.setText(R.string.download_24);
					later.setText(R.string.later_24);
					install_now.setText(R.string.install_now_24);
					install_update.setText(R.string.install_update_24);
					go_back.setText(R.string.go_back_24);
					download_update.setText(R.string.download_update_24);
					not_now.setText(R.string.not_now_24);
					show_support.setText(R.string.show_support_24);
					show_support_desc.setText(R.string.show_support_desc_24);
					copy_url_0 = copy_url.getText().toString();
					download_0 = download.getText().toString();
					continue_0 = continue_1.getText().toString();
					cancel_0 = cancel.getText().toString();
					fixer_0 = fixer.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_24);
					settings_title.setText(R.string.settings_title_24);
					about_title.setText(R.string.about_title_24);
					maintenance.setText(R.string.maintenance_24);
					maintenance_desc.setText(R.string.maintenance_desc_24);
					thanks.setText(R.string.thanks_24);
					language.setText(R.string.language_24);
					website.setText(R.string.website_24);
					discord.setText(R.string.discord_24);
					reddit.setText(R.string.reddit_24);
					faq.setText(R.string.faq_24);
					cloned_version.setText(R.string.cloned_version_24);
					cloned_version_info.setText(R.string.cloned_version_desc_24);
					disable_reward_ad.setText(R.string.disable_rewarded_ads_24);
					disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_24);
					installation_failed.setText(R.string.installation_failed_24);
					installation_failed_desc.setText(R.string.installation_failed_desc_24);
					installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_24);
					installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_24);
					existing_patched.setText(R.string.existing_patched_24);
					existing_patched_desc.setText(R.string.existing_patched_desc_24);
					close.setText(R.string.close_24);
					cloned.setText(R.string.cloned_24);
					ream.setText(R.string.ream_24);
					install.setText(R.string.install_24);
					uninstall.setText(R.string.uninstall_24);
					ignore.setText(R.string.ignore_24);
					delete.setText(R.string.delete_24);
					uninstall_patched.setText(R.string.uninstall_patched_24);
					open_settings.setText(R.string.open_settings_24);
					open_patched.setText(R.string.open_patched_24);
					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 == 25) {
					LANGUAGE.edit().putString("LANGUAGE", "25").commit();
					title_1.setText(R.string.spotify_regular_25);
					title_2.setText(R.string.spotify_amoled_25);
					sub_text_installed.setText(R.string.installed_25);
					sub_text_1.setText(R.string.latest_25);
					sub_text_2.setText(R.string.latest_25);
					sub_text_3.setText(R.string.latest_25);
					version_switch_1.setText(R.string.versions_25);
					version_switch_2.setText(R.string.versions_25);
					version_switch_3.setText(R.string.versions_25);
					changelogs.setText(R.string.changelogs_25);
					title_sub.setText(R.string.manager_tools_25);
					device_cpu.setText(R.string.device_cpu_25);
					source.setText(R.string.source_25);
					support.setText(R.string.support_25);
					donate.setText(R.string.donate_25);
					about.setText(R.string.about_25);
					list_auto_refresh.setText(R.string.list_auto_refresh_25);
					list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_25);
					force_auto_install.setText(R.string.force_auto_install_25);
					force_auto_install_info.setText(R.string.force_auto_install_desc_25);
					theme.setText(R.string.show_themes_25);
					apk_location.setText(R.string.apk_location_25);
					apk_location_info.setText(R.string.apk_location_desc_25);
					clear_directory_folders.setText(R.string.clear_directory_folders_25);
					clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_25);
					reset_settings.setText(R.string.reset_settings_25);
					sub_title.setText(R.string.about_sub_25);
					developer_manager.setText(R.string.xmanager_dev_25);
					developer_spotify.setText(R.string.spotify_mod_devs_25);
					support_team.setText(R.string.telegram_support_team_25);
					mod_testers_1.setText(R.string.manager_testers_25);
					mod_testers_2.setText(R.string.manager_hosting_25);
					mobilism_team.setText(R.string.mobilism_team_25);
					forum_team.setText(R.string.forum_team_25);
					manager_team.setText(R.string.xspotify_team_25);
					contributors_1.setText(R.string.contributors_25);
					download_selected.setText(R.string.download_selected_25);
					download_ready.setText(R.string.download_ready_25);
					download_ready_desc.setText(R.string.download_ready_desc_25);
					downloading_file.setText(R.string.downloading_file_25);
					download_success.setText(R.string.download_success_25);
					new_update.setText(R.string.new_update_25);
					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.setText(R.string.copy_url_25);
					continue_1.setText(R.string.continue_1_25);
					cancel.setText(R.string.cancel_25);
					fixer.setText(R.string.fixer_25);
					download.setText(R.string.download_25);
					later.setText(R.string.later_25);
					install_now.setText(R.string.install_now_25);
					install_update.setText(R.string.install_update_25);
					go_back.setText(R.string.go_back_25);
					download_update.setText(R.string.download_update_25);
					not_now.setText(R.string.not_now_25);
					show_support.setText(R.string.show_support_25);
					show_support_desc.setText(R.string.show_support_desc_25);
					copy_url_0 = copy_url.getText().toString();
					download_0 = download.getText().toString();
					continue_0 = continue_1.getText().toString();
					cancel_0 = cancel.getText().toString();
					fixer_0 = fixer.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_25);
					settings_title.setText(R.string.settings_title_25);
					about_title.setText(R.string.about_title_25);
					maintenance.setText(R.string.maintenance_25);
					maintenance_desc.setText(R.string.maintenance_desc_25);
					thanks.setText(R.string.thanks_25);
					language.setText(R.string.language_25);
					website.setText(R.string.website_25);
					discord.setText(R.string.discord_25);
					reddit.setText(R.string.reddit_25);
					faq.setText(R.string.faq_25);
					cloned_version.setText(R.string.cloned_version_25);
					cloned_version_info.setText(R.string.cloned_version_desc_25);
					disable_reward_ad.setText(R.string.disable_rewarded_ads_25);
					disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_25);
					installation_failed.setText(R.string.installation_failed_25);
					installation_failed_desc.setText(R.string.installation_failed_desc_25);
					installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_25);
					installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_25);
					existing_patched.setText(R.string.existing_patched_25);
					existing_patched_desc.setText(R.string.existing_patched_desc_25);
					close.setText(R.string.close_25);
					cloned.setText(R.string.cloned_25);
					ream.setText(R.string.ream_25);
					install.setText(R.string.install_25);
					uninstall.setText(R.string.uninstall_25);
					ignore.setText(R.string.ignore_25);
					delete.setText(R.string.delete_25);
					uninstall_patched.setText(R.string.uninstall_patched_25);
					open_settings.setText(R.string.open_settings_25);
					open_patched.setText(R.string.open_patched_25);
					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 == 26) {
					LANGUAGE.edit().putString("LANGUAGE", "26").commit();
					title_1.setText(R.string.spotify_regular_26);
					title_2.setText(R.string.spotify_amoled_26);
					sub_text_installed.setText(R.string.installed_26);
					sub_text_1.setText(R.string.latest_26);
					sub_text_2.setText(R.string.latest_26);
					sub_text_3.setText(R.string.latest_26);
					version_switch_1.setText(R.string.versions_26);
					version_switch_2.setText(R.string.versions_26);
					version_switch_3.setText(R.string.versions_26);
					changelogs.setText(R.string.changelogs_26);
					title_sub.setText(R.string.manager_tools_26);
					device_cpu.setText(R.string.device_cpu_26);
					source.setText(R.string.source_26);
					support.setText(R.string.support_26);
					donate.setText(R.string.donate_26);
					about.setText(R.string.about_26);
					list_auto_refresh.setText(R.string.list_auto_refresh_26);
					list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_26);
					force_auto_install.setText(R.string.force_auto_install_26);
					force_auto_install_info.setText(R.string.force_auto_install_desc_26);
					theme.setText(R.string.show_themes_26);
					apk_location.setText(R.string.apk_location_26);
					apk_location_info.setText(R.string.apk_location_desc_26);
					clear_directory_folders.setText(R.string.clear_directory_folders_26);
					clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_26);
					reset_settings.setText(R.string.reset_settings_26);
					sub_title.setText(R.string.about_sub_26);
					developer_manager.setText(R.string.xmanager_dev_26);
					developer_spotify.setText(R.string.spotify_mod_devs_26);
					support_team.setText(R.string.telegram_support_team_26);
					mod_testers_1.setText(R.string.manager_testers_26);
					mod_testers_2.setText(R.string.manager_hosting_26);
					mobilism_team.setText(R.string.mobilism_team_26);
					forum_team.setText(R.string.forum_team_26);
					manager_team.setText(R.string.xspotify_team_26);
					contributors_1.setText(R.string.contributors_26);
					download_selected.setText(R.string.download_selected_26);
					download_ready.setText(R.string.download_ready_26);
					download_ready_desc.setText(R.string.download_ready_desc_26);
					downloading_file.setText(R.string.downloading_file_26);
					download_success.setText(R.string.download_success_26);
					new_update.setText(R.string.new_update_26);
					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.setText(R.string.copy_url_26);
					continue_1.setText(R.string.continue_1_26);
					cancel.setText(R.string.cancel_26);
					fixer.setText(R.string.fixer_26);
					download.setText(R.string.download_26);
					later.setText(R.string.later_26);
					install_now.setText(R.string.install_now_26);
					install_update.setText(R.string.install_update_26);
					go_back.setText(R.string.go_back_26);
					download_update.setText(R.string.download_update_26);
					not_now.setText(R.string.not_now_26);
					show_support.setText(R.string.show_support_26);
					show_support_desc.setText(R.string.show_support_desc_26);
					copy_url_0 = copy_url.getText().toString();
					download_0 = download.getText().toString();
					continue_0 = continue_1.getText().toString();
					cancel_0 = cancel.getText().toString();
					fixer_0 = fixer.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_26);
					settings_title.setText(R.string.settings_title_26);
					about_title.setText(R.string.about_title_26);
					maintenance.setText(R.string.maintenance_26);
					maintenance_desc.setText(R.string.maintenance_desc_26);
					thanks.setText(R.string.thanks_26);
					language.setText(R.string.language_26);
					website.setText(R.string.website_26);
					discord.setText(R.string.discord_26);
					reddit.setText(R.string.reddit_26);
					faq.setText(R.string.faq_26);
					cloned_version.setText(R.string.cloned_version_26);
					cloned_version_info.setText(R.string.cloned_version_desc_26);
					disable_reward_ad.setText(R.string.disable_rewarded_ads_26);
					disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_26);
					installation_failed.setText(R.string.installation_failed_26);
					installation_failed_desc.setText(R.string.installation_failed_desc_26);
					installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_26);
					installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_26);
					existing_patched.setText(R.string.existing_patched_26);
					existing_patched_desc.setText(R.string.existing_patched_desc_26);
					close.setText(R.string.close_26);
					cloned.setText(R.string.cloned_26);
					ream.setText(R.string.ream_26);
					install.setText(R.string.install_26);
					uninstall.setText(R.string.uninstall_26);
					ignore.setText(R.string.ignore_26);
					delete.setText(R.string.delete_26);
					uninstall_patched.setText(R.string.uninstall_patched_26);
					open_settings.setText(R.string.open_settings_26);
					open_patched.setText(R.string.open_patched_26);
					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 == 27) {
					LANGUAGE.edit().putString("LANGUAGE", "27").commit();
					title_1.setText(R.string.spotify_regular_27);
					title_2.setText(R.string.spotify_amoled_27);
					sub_text_installed.setText(R.string.installed_27);
					sub_text_1.setText(R.string.latest_27);
					sub_text_2.setText(R.string.latest_27);
					sub_text_3.setText(R.string.latest_27);
					version_switch_1.setText(R.string.versions_27);
					version_switch_2.setText(R.string.versions_27);
					version_switch_3.setText(R.string.versions_27);
					changelogs.setText(R.string.changelogs_27);
					title_sub.setText(R.string.manager_tools_27);
					device_cpu.setText(R.string.device_cpu_27);
					source.setText(R.string.source_27);
					support.setText(R.string.support_27);
					donate.setText(R.string.donate_27);
					about.setText(R.string.about_27);
					list_auto_refresh.setText(R.string.list_auto_refresh_27);
					list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_27);
					force_auto_install.setText(R.string.force_auto_install_27);
					force_auto_install_info.setText(R.string.force_auto_install_desc_27);
					theme.setText(R.string.show_themes_27);
					apk_location.setText(R.string.apk_location_27);
					apk_location_info.setText(R.string.apk_location_desc_27);
					clear_directory_folders.setText(R.string.clear_directory_folders_27);
					clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_27);
					reset_settings.setText(R.string.reset_settings_27);
					sub_title.setText(R.string.about_sub_27);
					developer_manager.setText(R.string.xmanager_dev_27);
					developer_spotify.setText(R.string.spotify_mod_devs_27);
					support_team.setText(R.string.telegram_support_team_27);
					mod_testers_1.setText(R.string.manager_testers_27);
					mod_testers_2.setText(R.string.manager_hosting_27);
					mobilism_team.setText(R.string.mobilism_team_27);
					forum_team.setText(R.string.forum_team_27);
					manager_team.setText(R.string.xspotify_team_27);
					contributors_1.setText(R.string.contributors_27);
					download_selected.setText(R.string.download_selected_27);
					download_ready.setText(R.string.download_ready_27);
					download_ready_desc.setText(R.string.download_ready_desc_27);
					downloading_file.setText(R.string.downloading_file_27);
					download_success.setText(R.string.download_success_27);
					new_update.setText(R.string.new_update_27);
					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.setText(R.string.copy_url_27);
					continue_1.setText(R.string.continue_1_27);
					cancel.setText(R.string.cancel_27);
					fixer.setText(R.string.fixer_27);
					download.setText(R.string.download_27);
					later.setText(R.string.later_27);
					install_now.setText(R.string.install_now_27);
					install_update.setText(R.string.install_update_27);
					go_back.setText(R.string.go_back_27);
					download_update.setText(R.string.download_update_27);
					not_now.setText(R.string.not_now_27);
					show_support.setText(R.string.show_support_27);
					show_support_desc.setText(R.string.show_support_desc_27);
					copy_url_0 = copy_url.getText().toString();
					download_0 = download.getText().toString();
					continue_0 = continue_1.getText().toString();
					cancel_0 = cancel.getText().toString();
					fixer_0 = fixer.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_27);
					settings_title.setText(R.string.settings_title_27);
					about_title.setText(R.string.about_title_27);
					maintenance.setText(R.string.maintenance_27);
					maintenance_desc.setText(R.string.maintenance_desc_27);
					thanks.setText(R.string.thanks_27);
					language.setText(R.string.language_27);
					website.setText(R.string.website_27);
					discord.setText(R.string.discord_27);
					reddit.setText(R.string.reddit_27);
					faq.setText(R.string.faq_27);
					cloned_version.setText(R.string.cloned_version_27);
					cloned_version_info.setText(R.string.cloned_version_desc_27);
					disable_reward_ad.setText(R.string.disable_rewarded_ads_27);
					disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_27);
					installation_failed.setText(R.string.installation_failed_27);
					installation_failed_desc.setText(R.string.installation_failed_desc_27);
					installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_27);
					installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_27);
					existing_patched.setText(R.string.existing_patched_27);
					existing_patched_desc.setText(R.string.existing_patched_desc_27);
					close.setText(R.string.close_27);
					cloned.setText(R.string.cloned_27);
					ream.setText(R.string.ream_27);
					install.setText(R.string.install_27);
					uninstall.setText(R.string.uninstall_27);
					ignore.setText(R.string.ignore_27);
					delete.setText(R.string.delete_27);
					uninstall_patched.setText(R.string.uninstall_patched_27);
					open_settings.setText(R.string.open_settings_27);
					open_patched.setText(R.string.open_patched_27);
					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 == 28) {
					LANGUAGE.edit().putString("LANGUAGE", "28").commit();
					title_1.setText(R.string.spotify_regular_28);
					title_2.setText(R.string.spotify_amoled_28);
					sub_text_installed.setText(R.string.installed_28);
					sub_text_1.setText(R.string.latest_28);
					sub_text_2.setText(R.string.latest_28);
					sub_text_3.setText(R.string.latest_28);
					version_switch_1.setText(R.string.versions_28);
					version_switch_2.setText(R.string.versions_28);
					version_switch_3.setText(R.string.versions_28);
					changelogs.setText(R.string.changelogs_28);
					title_sub.setText(R.string.manager_tools_28);
					device_cpu.setText(R.string.device_cpu_28);
					source.setText(R.string.source_28);
					support.setText(R.string.support_28);
					donate.setText(R.string.donate_28);
					about.setText(R.string.about_28);
					list_auto_refresh.setText(R.string.list_auto_refresh_28);
					list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_28);
					force_auto_install.setText(R.string.force_auto_install_28);
					force_auto_install_info.setText(R.string.force_auto_install_desc_28);
					theme.setText(R.string.show_themes_28);
					apk_location.setText(R.string.apk_location_28);
					apk_location_info.setText(R.string.apk_location_desc_28);
					clear_directory_folders.setText(R.string.clear_directory_folders_28);
					clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_28);
					reset_settings.setText(R.string.reset_settings_28);
					sub_title.setText(R.string.about_sub_28);
					developer_manager.setText(R.string.xmanager_dev_28);
					developer_spotify.setText(R.string.spotify_mod_devs_28);
					support_team.setText(R.string.telegram_support_team_28);
					mod_testers_1.setText(R.string.manager_testers_28);
					mod_testers_2.setText(R.string.manager_hosting_28);
					mobilism_team.setText(R.string.mobilism_team_28);
					forum_team.setText(R.string.forum_team_28);
					manager_team.setText(R.string.xspotify_team_28);
					contributors_1.setText(R.string.contributors_28);
					download_selected.setText(R.string.download_selected_28);
					download_ready.setText(R.string.download_ready_28);
					download_ready_desc.setText(R.string.download_ready_desc_28);
					downloading_file.setText(R.string.downloading_file_28);
					download_success.setText(R.string.download_success_28);
					new_update.setText(R.string.new_update_28);
					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.setText(R.string.copy_url_28);
					continue_1.setText(R.string.continue_1_28);
					cancel.setText(R.string.cancel_28);
					fixer.setText(R.string.fixer_28);
					download.setText(R.string.download_28);
					later.setText(R.string.later_28);
					install_now.setText(R.string.install_now_28);
					install_update.setText(R.string.install_update_28);
					go_back.setText(R.string.go_back_28);
					download_update.setText(R.string.download_update_28);
					not_now.setText(R.string.not_now_28);
					show_support.setText(R.string.show_support_28);
					show_support_desc.setText(R.string.show_support_desc_28);
					copy_url_0 = copy_url.getText().toString();
					download_0 = download.getText().toString();
					continue_0 = continue_1.getText().toString();
					cancel_0 = cancel.getText().toString();
					fixer_0 = fixer.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_28);
					settings_title.setText(R.string.settings_title_28);
					about_title.setText(R.string.about_title_28);
					maintenance.setText(R.string.maintenance_28);
					maintenance_desc.setText(R.string.maintenance_desc_28);
					thanks.setText(R.string.thanks_28);
					language.setText(R.string.language_28);
					website.setText(R.string.website_28);
					discord.setText(R.string.discord_28);
					reddit.setText(R.string.reddit_28);
					faq.setText(R.string.faq_28);
					cloned_version.setText(R.string.cloned_version_28);
					cloned_version_info.setText(R.string.cloned_version_desc_28);
					disable_reward_ad.setText(R.string.disable_rewarded_ads_28);
					disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_28);
					installation_failed.setText(R.string.installation_failed_28);
					installation_failed_desc.setText(R.string.installation_failed_desc_28);
					installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_28);
					installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_28);
					existing_patched.setText(R.string.existing_patched_28);
					existing_patched_desc.setText(R.string.existing_patched_desc_28);
					close.setText(R.string.close_28);
					cloned.setText(R.string.cloned_28);
					ream.setText(R.string.ream_28);
					install.setText(R.string.install_28);
					uninstall.setText(R.string.uninstall_28);
					ignore.setText(R.string.ignore_28);
					delete.setText(R.string.delete_28);
					uninstall_patched.setText(R.string.uninstall_patched_28);
					open_settings.setText(R.string.open_settings_28);
					open_patched.setText(R.string.open_patched_28);
					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) {
				cloned_version_switch.setChecked(false);
				list_auto_refresh_switch.setChecked(false);
				force_auto_install_switch.setChecked(false);
				disable_reward_ad_switch.setChecked(false);
				apk_path_location.setText("/storage/emulated/0/Download/");
				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);
					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);
					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.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_LONG).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();
			}
		});
		
		main_box_1.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				if (CLICKER_1 == 1) {
					if (!cloned_version_switch.isChecked()) {
						list_menu_1.setVisibility(View.VISIBLE);
						list_menu_3.setVisibility(View.GONE);
						list_menu_1.setAdapter(new List_menu_1Adapter(regular));
						((BaseAdapter)list_menu_1.getAdapter()).notifyDataSetChanged();
					}
					else {
						if (cloned_version_switch.isChecked()) {
							list_menu_1.setVisibility(View.GONE);
							list_menu_3.setVisibility(View.VISIBLE);
							list_menu_3.setAdapter(new List_menu_3Adapter(regular_cloned));
							((BaseAdapter)list_menu_3.getAdapter()).notifyDataSetChanged();
						}
					}
					version_oc_01.setImageResource(R.drawable.open);
					version_oc_02.setImageResource(R.drawable.close);
					version_oc_03.setImageResource(R.drawable.close);
					changelogs_oc.setImageResource(R.drawable.close);
					list_menu_2.setVisibility(View.GONE);
					list_menu_4.setVisibility(View.GONE);
					list_menu_5.setVisibility(View.GONE);
					list_changelogs.setVisibility(View.GONE);
					CLICKER_1 = 0;
					CLICKER_2 = 1;
					CLICKER_3 = 1;
					CLICKER_4 = 1;
				}
				else {
					if (CLICKER_1 == 0) {
						version_oc_01.setImageResource(R.drawable.close);
						list_menu_1.setVisibility(View.GONE);
						list_menu_3.setVisibility(View.GONE);
						CLICKER_1 = 1;
					}
				}
				Animation animation;
				animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
				animation.setDuration(500); version_oc_01.startAnimation(animation);
				animation = null;
				_Tap_Animation(main_box_1);
			}
		});
		
		main_box_2.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				if (CLICKER_2 == 1) {
					if (!cloned_version_switch.isChecked()) {
						list_menu_2.setVisibility(View.VISIBLE);
						list_menu_4.setVisibility(View.GONE);
						list_menu_2.setAdapter(new List_menu_2Adapter(amoled));
						((BaseAdapter)list_menu_2.getAdapter()).notifyDataSetChanged();
					}
					else {
						if (cloned_version_switch.isChecked()) {
							list_menu_2.setVisibility(View.GONE);
							list_menu_4.setVisibility(View.VISIBLE);
							list_menu_4.setAdapter(new List_menu_4Adapter(amoled_cloned));
							((BaseAdapter)list_menu_4.getAdapter()).notifyDataSetChanged();
						}
					}
					version_oc_01.setImageResource(R.drawable.close);
					version_oc_02.setImageResource(R.drawable.open);
					version_oc_03.setImageResource(R.drawable.close);
					changelogs_oc.setImageResource(R.drawable.close);
					list_menu_1.setVisibility(View.GONE);
					list_menu_3.setVisibility(View.GONE);
					list_menu_5.setVisibility(View.GONE);
					list_changelogs.setVisibility(View.GONE);
					CLICKER_1 = 1;
					CLICKER_2 = 0;
					CLICKER_3 = 1;
					CLICKER_4 = 1;
				}
				else {
					if (CLICKER_2 == 0) {
						version_oc_02.setImageResource(R.drawable.close);
						list_menu_2.setVisibility(View.GONE);
						list_menu_4.setVisibility(View.GONE);
						CLICKER_2 = 1;
					}
				}
				Animation animation;
				animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
				animation.setDuration(500); version_oc_02.startAnimation(animation);
				animation = null;
				_Tap_Animation(main_box_2);
			}
		});
		
		main_box_3.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				if (CLICKER_3 == 1) {
					version_oc_01.setImageResource(R.drawable.close);
					version_oc_02.setImageResource(R.drawable.close);
					version_oc_03.setImageResource(R.drawable.open);
					changelogs_oc.setImageResource(R.drawable.close);
					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_menu_5.setVisibility(View.VISIBLE);
					list_changelogs.setVisibility(View.GONE);
					list_menu_5.setAdapter(new List_menu_5Adapter(lite));
					((BaseAdapter)list_menu_5.getAdapter()).notifyDataSetChanged();
					CLICKER_1 = 1;
					CLICKER_2 = 1;
					CLICKER_3 = 0;
					CLICKER_4 = 1;
				}
				else {
					if (CLICKER_3 == 0) {
						version_oc_03.setImageResource(R.drawable.close);
						list_menu_5.setVisibility(View.GONE);
						CLICKER_3 = 1;
					}
				}
				Animation animation;
				animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
				animation.setDuration(500); version_oc_03.startAnimation(animation);
				animation = null;
				_Tap_Animation(main_box_3);
			}
		});
		
		main_box_6.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View _view) {
				if (CLICKER_4 == 1) {
					version_oc_01.setImageResource(R.drawable.close);
					version_oc_02.setImageResource(R.drawable.close);
					version_oc_03.setImageResource(R.drawable.close);
					changelogs_oc.setImageResource(R.drawable.open);
					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_menu_5.setVisibility(View.GONE);
					list_changelogs.setVisibility(View.VISIBLE);
					list_changelogs.setAdapter(new List_changelogsAdapter(mod_changelogs));
					((BaseAdapter)list_changelogs.getAdapter()).notifyDataSetChanged();
					CLICKER_1 = 1;
					CLICKER_2 = 1;
					CLICKER_3 = 1;
					CLICKER_4 = 0;
				}
				else {
					if (CLICKER_4 == 0) {
						changelogs_oc.setImageResource(R.drawable.close);
						list_changelogs.setVisibility(View.GONE);
						CLICKER_4 = 1;
					}
				}
				Animation animation;
				animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
				animation.setDuration(500); changelogs_oc.startAnimation(animation);
				animation = null;
				_Tap_Animation(main_box_6);
			}
		});
		
		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 (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")) {
									_Extension_4();
								}
								else {
									if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")) {
										_Extension_5();
									}
								}
								                }
							            });
						File_Exist.setNegativeButton(delete.getText().toString(), new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface File_Exist, int p) {
								
								AlertDialog.setCancelable(true);
								com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Patched File Deleted", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
								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");
								                }
							            });
						 File_Exist.setNeutralButton(ignore.getText().toString(), new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface File_Exist, int p) {
								AlertDialog.setCancelable(true);
								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<br/><br/>").concat(download_ready_desc_0)))))));
										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<br/><br/>").concat(download_ready_desc_0)))))));
										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<br/><br/>").concat(download_ready_desc_0)))))));
										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<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
								}
								Selected_Patched.setPositiveButton(download_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);
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
													_Download_Install(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
												}
												else {
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
														_Download(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
												}
												_File_Remover();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       AlertDialog.setCancelable(true);
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																_Download_Install(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
															}
															else {
																if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																	_Download(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																	((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
																}
															}
															_File_Remover();
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
														}
													}
													_File_Remover();
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								Selected_Patched.setNegativeButton(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", hidden_download.getText().toString()));
												com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       AlertDialog.setCancelable(true);
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
															com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													AlertDialog.setCancelable(true);
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
									
									                @Override
									                public void onClick(DialogInterface Selected_Patched, int p) {
										AlertDialog.setCancelable(true);
										                }
									            });
								AlertDialog = Selected_Patched.create();
								AlertDialog.setCancelable(false);
								AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
								AlertDialog.show();
								DELETE = 1;
								                }
							            });
						AlertDialog = File_Exist.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
					}
					else {
						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<br/><br/>").concat(download_ready_desc_0)))))));
								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<br/><br/>").concat(download_ready_desc_0)))))));
								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<br/><br/>").concat(download_ready_desc_0)))))));
								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<br/><br/>").concat(download_ready_desc_0)))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
						}
						Selected_Patched.setPositiveButton(download_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);
										if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
											_Download_Install(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
											((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
										}
										else {
											if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
												_Download(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											}
										}
										_File_Remover();
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
														}
													}
													_File_Remover();
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											AlertDialog.setCancelable(true);
											if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
												_Download_Install(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											}
											else {
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
													_Download(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
												}
											}
											_File_Remover();
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						Selected_Patched.setNegativeButton(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", hidden_download.getText().toString()));
										com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       AlertDialog.setCancelable(true);
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											AlertDialog.setCancelable(true);
											((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Selected_Patched, int p) {
								AlertDialog.setCancelable(true);
								                }
							            });
						AlertDialog = Selected_Patched.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
						DELETE = 1;
					}
					hidden_download.setText(regular.get((int)(regular.size() - 1) - _position).get("Link").toString());
				}
				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 (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")) {
									_Extension_4();
								}
								else {
									if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")) {
										_Extension_5();
									}
								}
								                }
							            });
						File_Exist.setNegativeButton(delete.getText().toString(), new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface File_Exist, int p) {
								
								AlertDialog.setCancelable(true);
								com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Patched File Deleted", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
								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");
								                }
							            });
						 File_Exist.setNeutralButton(ignore.getText().toString(), new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface File_Exist, int p) {
								AlertDialog.setCancelable(true);
								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)<br/><br/>").concat(download_ready_desc_0)))))));
										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("<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";
										
										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)<br/><br/>").concat(download_ready_desc_0)))))));
										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)<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
								}
								Selected_Patched.setPositiveButton(download_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);
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
													_Download_Install_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
												}
												else {
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
														_Download_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
												}
												_File_Remover();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       AlertDialog.setCancelable(true);
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																_Download_Install_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
															}
															else {
																if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																	_Download_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																	((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
																}
															}
															_File_Remover();
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
														}
													}
													_File_Remover();
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								Selected_Patched.setNegativeButton(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", hidden_download.getText().toString()));
												com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       AlertDialog.setCancelable(true);
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
															com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													AlertDialog.setCancelable(true);
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
									
									                @Override
									                public void onClick(DialogInterface Selected_Patched, int p) {
										AlertDialog.setCancelable(true);
										                }
									            });
								AlertDialog = Selected_Patched.create();
								AlertDialog.setCancelable(false);
								AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
								AlertDialog.show();
								DELETE = 1;
								                }
							            });
						AlertDialog = File_Exist.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
					}
					else {
						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)<br/><br/>").concat(download_ready_desc_0)))))));
								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("<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";
								
								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)<br/><br/>").concat(download_ready_desc_0)))))));
								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)<br/><br/>").concat(download_ready_desc_0)))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
						}
						Selected_Patched.setPositiveButton(download_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);
										if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
											_Download_Install_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
											((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
										}
										else {
											if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
												_Download_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											}
										}
										_File_Remover();
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
														}
													}
													_File_Remover();
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											AlertDialog.setCancelable(true);
											if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
												_Download_Install_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											}
											else {
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
													_Download_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
												}
											}
											_File_Remover();
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						Selected_Patched.setNegativeButton(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", hidden_download.getText().toString()));
										com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       AlertDialog.setCancelable(true);
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											AlertDialog.setCancelable(true);
											((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Selected_Patched, int p) {
								AlertDialog.setCancelable(true);
								                }
							            });
						AlertDialog = Selected_Patched.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
						DELETE = 1;
					}
					hidden_download.setText(regular_cloned.get((int)(regular_cloned.size() - 1) - _position).get("Link").toString());
				}
				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 (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")) {
									_Extension_4();
								}
								else {
									if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")) {
										_Extension_5();
									}
								}
								                }
							            });
						File_Exist.setNegativeButton(delete.getText().toString(), new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface File_Exist, int p) {
								
								AlertDialog.setCancelable(true);
								com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Patched File Deleted", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
								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");
								                }
							            });
						 File_Exist.setNeutralButton(ignore.getText().toString(), new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface File_Exist, int p) {
								AlertDialog.setCancelable(true);
								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<br/><br/>").concat(download_ready_desc_0)))))));
										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<br/><br/>").concat(download_ready_desc_0)))))));
										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<br/><br/>").concat(download_ready_desc_0)))))));
										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<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
								}
								Selected_Patched.setPositiveButton(download_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);
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
													_Download_Install(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
												}
												else {
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
														_Download(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
												}
												_File_Remover();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       AlertDialog.setCancelable(true);
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																_Download_Install(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
															}
															else {
																if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																	_Download(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																	((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
																}
															}
															_File_Remover();
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
														}
													}
													_File_Remover();
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								Selected_Patched.setNegativeButton(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", hidden_download.getText().toString()));
												com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       AlertDialog.setCancelable(true);
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
															com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													AlertDialog.setCancelable(true);
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
									
									                @Override
									                public void onClick(DialogInterface Selected_Patched, int p) {
										AlertDialog.setCancelable(true);
										                }
									            });
								AlertDialog = Selected_Patched.create();
								AlertDialog.setCancelable(false);
								AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
								AlertDialog.show();
								DELETE = 1;
								                }
							            });
						AlertDialog = File_Exist.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
					}
					else {
						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<br/><br/>").concat(download_ready_desc_0)))))));
								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<br/><br/>").concat(download_ready_desc_0)))))));
								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<br/><br/>").concat(download_ready_desc_0)))))));
								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<br/><br/>").concat(download_ready_desc_0)))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
						}
						Selected_Patched.setPositiveButton(download_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);
										if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
											_Download_Install(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
											((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
										}
										else {
											if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
												_Download(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											}
										}
										_File_Remover();
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
														}
													}
													_File_Remover();
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											AlertDialog.setCancelable(true);
											if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
												_Download_Install(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											}
											else {
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
													_Download(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
												}
											}
											_File_Remover();
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						Selected_Patched.setNegativeButton(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", hidden_download.getText().toString()));
										com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       AlertDialog.setCancelable(true);
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											AlertDialog.setCancelable(true);
											((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Selected_Patched, int p) {
								AlertDialog.setCancelable(true);
								                }
							            });
						AlertDialog = Selected_Patched.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
						DELETE = 1;
					}
					hidden_download.setText(amoled.get((int)(amoled.size() - 1) - _position).get("Link").toString());
				}
				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 (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")) {
									_Extension_4();
								}
								else {
									if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Mod (Official) [Cloned].apk")) {
										_Extension_5();
									}
								}
								                }
							            });
						File_Exist.setNegativeButton(delete.getText().toString(), new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface File_Exist, int p) {
								
								AlertDialog.setCancelable(true);
								com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Patched File Deleted", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
								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");
								                }
							            });
						 File_Exist.setNeutralButton(ignore.getText().toString(), new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface File_Exist, int p) {
								AlertDialog.setCancelable(true);
								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)<br/><br/>").concat(download_ready_desc_0)))))));
										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("<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";
										
										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)<br/><br/>").concat(download_ready_desc_0)))))));
										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)<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
								}
								Selected_Patched.setPositiveButton(download_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);
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
													_Download_Install_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
												}
												else {
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
														_Download_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
												}
												_File_Remover();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       AlertDialog.setCancelable(true);
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																_Download_Install_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
															}
															else {
																if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																	_Download_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																	((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
																}
															}
															_File_Remover();
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
														}
													}
													_File_Remover();
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								Selected_Patched.setNegativeButton(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", hidden_download.getText().toString()));
												com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       AlertDialog.setCancelable(true);
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
															com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													AlertDialog.setCancelable(true);
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
									
									                @Override
									                public void onClick(DialogInterface Selected_Patched, int p) {
										AlertDialog.setCancelable(true);
										                }
									            });
								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;
								                }
							            });
						AlertDialog = File_Exist.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
					}
					else {
						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)<br/><br/>").concat(download_ready_desc_0)))))));
								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("<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";
								
								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)<br/><br/>").concat(download_ready_desc_0)))))));
								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)<br/><br/>").concat(download_ready_desc_0)))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
						}
						Selected_Patched.setPositiveButton(download_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);
										if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
											_Download_Install_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
											((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
										}
										else {
											if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
												_Download_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											}
										}
										_File_Remover();
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
														}
													}
													_File_Remover();
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											AlertDialog.setCancelable(true);
											if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
												_Download_Install_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											}
											else {
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
													_Download_Cloned(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
												}
											}
											_File_Remover();
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						Selected_Patched.setNegativeButton(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", hidden_download.getText().toString()));
										com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       AlertDialog.setCancelable(true);
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											AlertDialog.setCancelable(true);
											((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Selected_Patched, int p) {
								AlertDialog.setCancelable(true);
								                }
							            });
						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;
					}
					hidden_download.setText(amoled_cloned.get((int)(amoled_cloned.size() - 1) - _position).get("Link").toString());
				}
				catch(Exception e) {
				}
			}
		});
		
		list_menu_5.setOnItemClickListener(new AdapterView.OnItemClickListener() {
			@Override
			public void onItemClick(AdapterView<?> _param1, View _param2, int _param3, long _param4) {
				final int _position = _param3;
				try {
					if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Lite Mod (Official).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 Lite Mod (Official).apk")) {
									_Extension_6();
								}
								                }
							            });
						File_Exist.setNegativeButton(delete.getText().toString(), new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface File_Exist, int p) {
								
								AlertDialog.setCancelable(true);
								com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Patched File Deleted", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
								FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Spotify Lite Mod (Official).apk");
								                }
							            });
						 File_Exist.setNeutralButton(ignore.getText().toString(), new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface File_Exist, int p) {
								AlertDialog.setCancelable(true);
								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(lite.get((int)(lite.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("LITE<br/><br/>").concat(download_ready_desc_0)))))));
										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(lite.get((int)(lite.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("LITE<br/><br/>").concat(download_ready_desc_0)))))));
										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(lite.get((int)(lite.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("LITE<br/><br/>").concat(download_ready_desc_0)))))));
										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(lite.get((int)(lite.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("LITE<br/><br/>").concat(download_ready_desc_0)))))));
										String MessageColor = "FFFFFF";
										
										Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
									}
								}
								Selected_Patched.setPositiveButton(download_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);
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
													_Download_Install_Lite(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
												}
												else {
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
														_Download_Lite(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
												}
												_File_Remover();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       AlertDialog.setCancelable(true);
															if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
																_Download_Install_Lite(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
															}
															else {
																if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
																	_Download_Lite(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
																	((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
																}
															}
															_File_Remover();
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install_Lite(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download_Lite(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
														}
													}
													_File_Remover();
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								Selected_Patched.setNegativeButton(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", hidden_download.getText().toString()));
												com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
											}
											else {
												if (mRewardedAd != null) {
													  Activity activityContext = MainActivity.this;
													  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
														    @Override
														    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
															       AlertDialog.setCancelable(true);
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
															com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
															      int rewardAmount = rewardItem.getAmount();
															      String rewardType = rewardItem.getType();
															    }
														  });
												} else {
													AlertDialog.setCancelable(true);
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
												}
											}
										}
										catch(Exception e) {
										}
										                }
									            });
								 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
									
									                @Override
									                public void onClick(DialogInterface Selected_Patched, int p) {
										AlertDialog.setCancelable(true);
										                }
									            });
								AlertDialog = Selected_Patched.create();
								AlertDialog.setCancelable(false);
								AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
								AlertDialog.show();
								DELETE = 1;
								                }
							            });
						AlertDialog = File_Exist.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
					}
					else {
						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(lite.get((int)(lite.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("LITE<br/><br/>").concat(download_ready_desc_0)))))));
								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(lite.get((int)(lite.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("LITE<br/><br/>").concat(download_ready_desc_0)))))));
								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(lite.get((int)(lite.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("LITE<br/><br/>").concat(download_ready_desc_0)))))));
								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(lite.get((int)(lite.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("LITE<br/><br/>").concat(download_ready_desc_0)))))));
								String MessageColor = "FFFFFF";
								
								Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
							}
						}
						Selected_Patched.setPositiveButton(download_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);
										if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
											_Download_Install_Lite(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
											((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
										}
										else {
											if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
												_Download_Lite(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											}
										}
										_File_Remover();
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       AlertDialog.setCancelable(true);
													if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
														_Download_Install_Lite(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
														((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													}
													else {
														if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
															_Download_Lite(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
															((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
														}
													}
													_File_Remover();
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											AlertDialog.setCancelable(true);
											if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
												_Download_Install_Lite(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
												((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											}
											else {
												if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
													_Download_Lite(hidden_download.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
												}
											}
											_File_Remover();
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						Selected_Patched.setNegativeButton(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", hidden_download.getText().toString()));
										com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
									}
									else {
										if (mRewardedAd != null) {
											  Activity activityContext = MainActivity.this;
											  mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
												    @Override
												    public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
													       AlertDialog.setCancelable(true);
													((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
													com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
													      int rewardAmount = rewardItem.getAmount();
													      String rewardType = rewardItem.getType();
													    }
												  });
										} else {
											AlertDialog.setCancelable(true);
											((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", hidden_download.getText().toString()));
											com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Copied Successfully", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
										}
									}
								}
								catch(Exception e) {
								}
								                }
							            });
						 Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
							
							                @Override
							                public void onClick(DialogInterface Selected_Patched, int p) {
								AlertDialog.setCancelable(true);
								                }
							            });
						AlertDialog = Selected_Patched.create();
						AlertDialog.setCancelable(false);
						AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
						AlertDialog.show();
						DELETE = 1;
					}
					hidden_download.setText(lite.get((int)(lite.size() - 1) - _position).get("Link").toString());
				}
				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.isExistFile("/storage/emulated/0/Android/data/com.spotify.lite/"))) {
							FileUtil.deleteFile("/storage/emulated/0/Android/data/com.spotify.music/");
							FileUtil.deleteFile("/storage/emulated/0/Android/data/com.spotify.musix/");
							FileUtil.deleteFile("/storage/emulated/0/Android/data/com.spotify.lite/");
							SketchwareUtil.showMessage(getApplicationContext(), "Successfully deleted");
						}
						else {
							SketchwareUtil.showMessage(getApplicationContext(), "Directory files are empty");
						}
					}
					_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);
							                }
						            });
					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();
			_Reinitialize();
			_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) {
		}
	}
	

	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") && Installed_Checker_Lite.equals("true"))) {
											sub_installed.setVisibility(View.VISIBLE);
											sub_separator_1.setVisibility(View.VISIBLE);
											sub_installed_c.setVisibility(View.VISIBLE);
											sub_separator_2.setVisibility(View.VISIBLE);
											sub_installed_l.setVisibility(View.VISIBLE);
											sub_installed.setTextColor(0xFFFFFFFF);
											sub_separator_1.setTextColor(0xFF1DB954);
											sub_installed_c.setTextColor(0xFFBDBDBD);
											sub_separator_2.setTextColor(0xFF1DB954);
											sub_installed_l.setTextColor(0xFF78909C);
										}
										else {
											if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("false") && Installed_Checker_Lite.equals("false"))) {
												sub_installed.setVisibility(View.VISIBLE);
												sub_separator_1.setVisibility(View.GONE);
												sub_installed_c.setVisibility(View.GONE);
												sub_separator_2.setVisibility(View.GONE);
												sub_installed_l.setVisibility(View.GONE);
												sub_installed.setTextColor(0xFFFFFFFF);
												sub_separator_1.setTextColor(0xFF1DB954);
												sub_installed_c.setTextColor(0xFFBDBDBD);
												sub_separator_2.setTextColor(0xFF1DB954);
												sub_installed_l.setTextColor(0xFF78909C);
											}
											else {
												if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("false") && Installed_Checker_Lite.equals("false"))) {
													sub_installed.setVisibility(View.VISIBLE);
													sub_separator_1.setVisibility(View.GONE);
													sub_installed_c.setVisibility(View.GONE);
													sub_separator_2.setVisibility(View.GONE);
													sub_installed_l.setVisibility(View.GONE);
													sub_installed.setTextColor(0xFFFFFFFF);
													sub_separator_1.setTextColor(0xFF1DB954);
													sub_installed_c.setTextColor(0xFFBDBDBD);
													sub_separator_2.setTextColor(0xFF1DB954);
													sub_installed_l.setTextColor(0xFF78909C);
												}
												else {
													if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("true") && Installed_Checker_Lite.equals("false"))) {
														sub_installed.setVisibility(View.GONE);
														sub_separator_1.setVisibility(View.GONE);
														sub_installed_c.setVisibility(View.VISIBLE);
														sub_separator_2.setVisibility(View.GONE);
														sub_installed_l.setVisibility(View.GONE);
														sub_installed.setTextColor(0xFFFFFFFF);
														sub_separator_1.setTextColor(0xFF1DB954);
														sub_installed_c.setTextColor(0xFFBDBDBD);
														sub_separator_2.setTextColor(0xFF1DB954);
														sub_installed_l.setTextColor(0xFF78909C);
													}
													else {
														if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("false") && Installed_Checker_Lite.equals("true"))) {
															sub_installed.setVisibility(View.GONE);
															sub_separator_1.setVisibility(View.GONE);
															sub_installed_c.setVisibility(View.GONE);
															sub_separator_2.setVisibility(View.GONE);
															sub_installed_l.setVisibility(View.VISIBLE);
															sub_installed.setTextColor(0xFFFFFFFF);
															sub_separator_1.setTextColor(0xFF1DB954);
															sub_installed_c.setTextColor(0xFFBDBDBD);
															sub_separator_2.setTextColor(0xFF1DB954);
															sub_installed_l.setTextColor(0xFF78909C);
														}
														else {
															if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("true") && Installed_Checker_Lite.equals("false"))) {
																sub_installed.setVisibility(View.VISIBLE);
																sub_separator_1.setVisibility(View.VISIBLE);
																sub_installed_c.setVisibility(View.VISIBLE);
																sub_separator_2.setVisibility(View.GONE);
																sub_installed_l.setVisibility(View.GONE);
																sub_installed.setTextColor(0xFFFFFFFF);
																sub_separator_1.setTextColor(0xFF1DB954);
																sub_installed_c.setTextColor(0xFFBDBDBD);
																sub_separator_2.setTextColor(0xFF1DB954);
																sub_installed_l.setTextColor(0xFF78909C);
															}
															else {
																if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("false") && Installed_Checker_Lite.equals("true"))) {
																	sub_installed.setVisibility(View.VISIBLE);
																	sub_separator_1.setVisibility(View.GONE);
																	sub_installed_c.setVisibility(View.GONE);
																	sub_separator_2.setVisibility(View.VISIBLE);
																	sub_installed_l.setVisibility(View.VISIBLE);
																	sub_installed.setTextColor(0xFFFFFFFF);
																	sub_separator_1.setTextColor(0xFF1DB954);
																	sub_installed_c.setTextColor(0xFFBDBDBD);
																	sub_separator_2.setTextColor(0xFF1DB954);
																	sub_installed_l.setTextColor(0xFF78909C);
																}
																else {
																	if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("true") && Installed_Checker_Lite.equals("true"))) {
																		sub_installed.setVisibility(View.GONE);
																		sub_separator_1.setVisibility(View.GONE);
																		sub_installed_c.setVisibility(View.VISIBLE);
																		sub_separator_2.setVisibility(View.VISIBLE);
																		sub_installed_l.setVisibility(View.VISIBLE);
																		sub_installed.setTextColor(0xFFFFFFFF);
																		sub_separator_1.setTextColor(0xFF1DB954);
																		sub_installed_c.setTextColor(0xFFBDBDBD);
																		sub_separator_2.setTextColor(0xFF1DB954);
																		sub_installed_l.setTextColor(0xFF78909C);
																	}
																}
															}
														}
													}
												}
											}
										}
										sub_installed.setText("N/A");
										sub_installed_c.setText("N/A");
										sub_installed_l.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 uri_l = "com.spotify.lite";
										android.content.pm.PackageManager pm_l = getPackageManager();
										
										try {
												android.content.pm.PackageInfo pInfo = pm_l.getPackageInfo(uri_l, android.content.pm.PackageManager.GET_ACTIVITIES);
												String version_l = pInfo.versionName;
												sub_installed_l.setText(version_l);
												Installed_Checker_Lite = "true";
										}
										
										catch (Exception e) {
												sub_installed_l.setText("N/A");
												Installed_Checker_Lite = "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) {
		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.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
				Thread progress = new Thread() {
						@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.setCancelable(false);
																				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) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																} catch (Exception e) {
																																}
																														}
																												});
																										}
																								};
																								_timer.schedule(Timer, (int)(0));
																						}
																				});
																				prog.setButton(DialogInterface.BUTTON_NEUTRAL, fixer_0, new DialogInterface.OnClickListener() {
																						@Override
																						public void onClick(DialogInterface dialog, int which) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																		_Reminder();
																																		_Browser(hidden_download.getText().toString());
																																} 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()) {
																										_Extension_1();
																										prog.dismiss();
																								}
																								prog.dismiss();
																						}
																				});
																		}
																};
																_timer.schedule(Timer, (int)(1500));
														}
												}
												cursor.close();
										}
								}
						}
				};
				progress.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();
		}
		
	}
	
	
	public void _File_Remover() {
		if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/")) {
			FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/");
		}
		else {
			if (!FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/")) {
				
			}
		}
	}
	
	
	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();
							                }
						            });
					 Update_Authorized.setNeutralButton(not_now.getText().toString(), new DialogInterface.OnClickListener(){
						
						                @Override
						                public void onClick(DialogInterface Update_Authorized, int p) {
							AlertDialog.setCancelable(true);
							                }
						            });
					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) {
		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.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
				Thread progress = new Thread() {
						@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.setCancelable(false);
																				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) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																} catch (Exception e) {
																																}
																														}
																												});
																										}
																								};
																								_timer.schedule(Timer, (int)(0));
																						}
																				});
																				prog.setButton(DialogInterface.BUTTON_NEUTRAL, fixer_0, new DialogInterface.OnClickListener() {
																						@Override
																						public void onClick(DialogInterface dialog, int which) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																		_Browser(hidden_update.getText().toString());
																																} 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() {	
																								if (!MainActivity.this.isFinishing()) {
																										_Extension_3();
																										prog.dismiss();
																								}
																								prog.dismiss();
																						}
																				});
																		}
																};
																_timer.schedule(Timer, (int)(1500));
														}
												}
												cursor.close();
										}
								}
						}
				};
				progress.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();
		}
		
	}
	
	
	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 _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_3.startAnimation(c);
		c = null;
		Animation d;
		d = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		d.setDuration(500); main_box_6.startAnimation(d);
		d = null;
		Animation e;
		e = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		e.setDuration(600); box_sub_header.startAnimation(e);
		e = null;
		Animation f;
		f = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		f.setDuration(700); main_box_4.startAnimation(f);
		f = null;
		Animation g;
		g = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		g.setDuration(800); main_box_15.startAnimation(g);
		g = null;
		Animation h;
		h = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		h.setDuration(300); title_header.startAnimation(h);
		h = null;
		Animation i;
		i = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		i.setDuration(400); title_header_beta.startAnimation(i);
		i = null;
		Animation j;
		j = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		j.setDuration(500); title_header_separator.startAnimation(j);
		j = null;
		Animation k;
		k = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		k.setDuration(600); box_switch.startAnimation(k);
		k = null;
		Animation l;
		l = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		l.setDuration(700); box_update.startAnimation(l);
		l = 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_17.startAnimation(f);
		f = null;
		Animation h;
		h = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		h.setDuration(700); main_box_5.startAnimation(h);
		h = null;
		Animation i;
		i = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		i.setDuration(800); main_box_14.startAnimation(i);
		i = null;
		Animation j;
		j = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		j.setDuration(900); main_box_9.startAnimation(j);
		j = null;
		Animation k;
		k = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		k.setDuration(1000); main_box_10.startAnimation(k);
		k = null;
		Animation l;
		l = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		l.setDuration(1100); main_box_13.startAnimation(l);
		l = 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);
				Timer = new TimerTask() {
					@Override
					public void run() {
						runOnUiThread(new Runnable() {
							@Override
							public void run() {
								if (CLONED_VERSION.getString("CLONED", "").equals("ON")) {
									list_menu_1.setVisibility(View.GONE);
									list_menu_2.setVisibility(View.GONE);
									list_menu_3.setVisibility(View.VISIBLE);
									list_menu_4.setVisibility(View.GONE);
									list_menu_5.setVisibility(View.GONE);
									list_changelogs.setVisibility(View.GONE);
									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.setVisibility(View.VISIBLE);
										list_menu_2.setVisibility(View.GONE);
										list_menu_3.setVisibility(View.GONE);
										list_menu_4.setVisibility(View.GONE);
										list_menu_5.setVisibility(View.GONE);
										list_changelogs.setVisibility(View.GONE);
										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_oc_01.setImageResource(R.drawable.open);
								version_oc_02.setImageResource(R.drawable.close);
								version_oc_03.setImageResource(R.drawable.close);
								changelogs_oc.setImageResource(R.drawable.close);
								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_1.setVisibility(View.GONE);
													list_menu_2.setVisibility(View.GONE);
													list_menu_3.setVisibility(View.GONE);
													list_menu_4.setVisibility(View.VISIBLE);
													list_menu_5.setVisibility(View.GONE);
													list_changelogs.setVisibility(View.GONE);
													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_1.setVisibility(View.GONE);
														list_menu_2.setVisibility(View.VISIBLE);
														list_menu_3.setVisibility(View.GONE);
														list_menu_4.setVisibility(View.GONE);
														list_menu_5.setVisibility(View.GONE);
														list_changelogs.setVisibility(View.GONE);
														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_oc_01.setImageResource(R.drawable.close);
												version_oc_02.setImageResource(R.drawable.open);
												version_oc_03.setImageResource(R.drawable.close);
												changelogs_oc.setImageResource(R.drawable.close);
												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);
																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_menu_5.setVisibility(View.VISIBLE);
																list_changelogs.setVisibility(View.GONE);
																version_oc_01.setImageResource(R.drawable.close);
																version_oc_02.setImageResource(R.drawable.close);
																version_oc_03.setImageResource(R.drawable.open);
																changelogs_oc.setImageResource(R.drawable.close);
																list_menu_5.setAdapter(new List_menu_5Adapter(lite));
																((BaseAdapter)list_menu_5.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(true);
																				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_menu_5.setVisibility(View.GONE);
																				list_changelogs.setVisibility(View.VISIBLE);
																				version_oc_01.setImageResource(R.drawable.close);
																				version_oc_02.setImageResource(R.drawable.close);
																				version_oc_03.setImageResource(R.drawable.close);
																				changelogs_oc.setImageResource(R.drawable.open);
																				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);
																								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_menu_5.setVisibility(View.GONE);
																								list_changelogs.setVisibility(View.GONE);
																								version_oc_01.setImageResource(R.drawable.close);
																								version_oc_02.setImageResource(R.drawable.close);
																								version_oc_03.setImageResource(R.drawable.close);
																								changelogs_oc.setImageResource(R.drawable.close);
																								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)(700));
																			}
																		});
																	}
																};
																_timer.schedule(Timer, (int)(600));
															}
														});
													}
												};
												_timer.schedule(Timer, (int)(500));
											}
										});
									}
								};
								_timer.schedule(Timer, (int)(500));
							}
						});
					}
				};
				_timer.schedule(Timer, (int)(400));
				com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Refreshing Data List...", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
			}
			catch(Exception e) {
			}
		}
	}
	
	
	public void _Default_Path() {
		if (PATH.equals("")) {
			apk_path_location.setText("/storage/emulated/0/Download/");
		}
		else {
			APK_PATH.edit().putString("PATH", apk_path_location.getText().toString()).commit();
		}
	}
	
	
	public void _Download_Install(final String _url, final String _path) {
		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.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
				Thread progress = new Thread() {
						@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.setCancelable(false);
																				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) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																} catch (Exception e) {
																																}
																														}
																												});
																										}
																								};
																								_timer.schedule(Timer, (int)(0));
																						}
																				});
																				prog.setButton(DialogInterface.BUTTON_NEUTRAL, fixer_0, new DialogInterface.OnClickListener() {
																						@Override
																						public void onClick(DialogInterface dialog, int which) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																		_Reminder();
																																		_Browser(hidden_download.getText().toString());
																																} 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) {
																												}
																												Timer = new TimerTask() {
																														@Override
																														public void run() {
																																runOnUiThread(new Runnable() {
																																		@Override
																																		public void run() {
																																				prog.dismiss();
																																				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);
																																												_Reminder();
																																										}
																																										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);
																																												_Reminder();
																																										}
																																										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) {
																																														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) {
																																								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) {
																																														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();
																																								}
																																						}
																																				}
																																		}
																																});
																														}
																												};
																												_timer.schedule(Timer, (int)(100));
																										}
																								});
																						}
																				};
																				_timer.schedule(Timer, (int)(1500));
																		}
																}
														});
												}
												cursor.close();
										}
								}
						}
				};
				progress.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();
		}
		
	}
	
	
	public void _Download_Update_Install(final String _url, final String _path) {
		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.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
				Thread progress = new Thread() {
						@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.setCancelable(false);
																				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) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_Update_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																} catch (Exception e) {
																																}
																														}
																												});
																										}
																								};
																								_timer.schedule(Timer, (int)(0));
																						}
																				});
																				prog.setButton(DialogInterface.BUTTON_NEUTRAL, fixer_0, new DialogInterface.OnClickListener() {
																						@Override
																						public void onClick(DialogInterface dialog, int which) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																		_Browser(hidden_update.getText().toString());
																																} 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 {
																														prog.dismiss();
																												}
																												catch(Exception e) {
																												}
																												prog.dismiss();
																												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);
																														}
																														catch(Exception e) {
																														}
																												}
																										}
																								});
																						}
																				};
																				_timer.schedule(Timer, (int)(1500));
																		}
																}
														});
												}
												cursor.close();
										}
								}
						}
				};
				progress.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();
		}
		
	}
	
	
	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_2.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);
			version_switch_3.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);
			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);
			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.setText(R.string.copy_url);
			continue_1.setText(R.string.continue_1);
			cancel.setText(R.string.cancel);
			fixer.setText(R.string.fixer);
			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();
			fixer_0 = fixer.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_2.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);
				version_switch_3.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);
				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);
				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.setText(R.string.copy_url_01);
				continue_1.setText(R.string.continue_1_01);
				cancel.setText(R.string.cancel_01);
				fixer.setText(R.string.fixer_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();
				fixer_0 = fixer.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_2.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);
					version_switch_3.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);
					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);
					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.setText(R.string.copy_url_02);
					continue_1.setText(R.string.continue_1_02);
					cancel.setText(R.string.cancel_02);
					fixer.setText(R.string.fixer_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();
					fixer_0 = fixer.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_2.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);
						version_switch_3.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);
						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);
						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.setText(R.string.copy_url_03);
						continue_1.setText(R.string.continue_1_03);
						cancel.setText(R.string.cancel_03);
						fixer.setText(R.string.fixer_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();
						fixer_0 = fixer.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_2.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);
							version_switch_3.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);
							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);
							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.setText(R.string.copy_url_04);
							continue_1.setText(R.string.continue_1_04);
							cancel.setText(R.string.cancel_04);
							fixer.setText(R.string.fixer_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();
							fixer_0 = fixer.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_2.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);
								version_switch_3.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);
								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);
								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.setText(R.string.copy_url_05);
								continue_1.setText(R.string.continue_1_05);
								cancel.setText(R.string.cancel_05);
								fixer.setText(R.string.fixer_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();
								fixer_0 = fixer.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_2.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);
									version_switch_3.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);
									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);
									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.setText(R.string.copy_url_06);
									continue_1.setText(R.string.continue_1_06);
									cancel.setText(R.string.cancel_06);
									fixer.setText(R.string.fixer_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();
									fixer_0 = fixer.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_2.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);
										version_switch_3.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);
										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);
										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.setText(R.string.copy_url_07);
										continue_1.setText(R.string.continue_1_07);
										cancel.setText(R.string.cancel_07);
										fixer.setText(R.string.fixer_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();
										fixer_0 = fixer.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_2.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);
											version_switch_3.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);
											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);
											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.setText(R.string.copy_url_08);
											continue_1.setText(R.string.continue_1_08);
											cancel.setText(R.string.cancel_08);
											fixer.setText(R.string.fixer_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();
											fixer_0 = fixer.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_2.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);
												version_switch_3.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);
												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);
												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.setText(R.string.copy_url_09);
												continue_1.setText(R.string.continue_1_09);
												cancel.setText(R.string.cancel_09);
												fixer.setText(R.string.fixer_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();
												fixer_0 = fixer.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_2.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);
													version_switch_3.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);
													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);
													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.setText(R.string.copy_url_10);
													continue_1.setText(R.string.continue_1_10);
													cancel.setText(R.string.cancel_10);
													fixer.setText(R.string.fixer_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();
													fixer_0 = fixer.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_2.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);
														version_switch_3.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);
														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);
														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.setText(R.string.copy_url_11);
														continue_1.setText(R.string.continue_1_11);
														cancel.setText(R.string.cancel_11);
														fixer.setText(R.string.fixer_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();
														fixer_0 = fixer.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_2.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);
															version_switch_3.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);
															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);
															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.setText(R.string.copy_url_12);
															continue_1.setText(R.string.continue_1_12);
															cancel.setText(R.string.cancel_12);
															fixer.setText(R.string.fixer_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();
															fixer_0 = fixer.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_2.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);
																version_switch_3.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);
																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);
																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.setText(R.string.copy_url_13);
																continue_1.setText(R.string.continue_1_13);
																cancel.setText(R.string.cancel_13);
																fixer.setText(R.string.fixer_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();
																fixer_0 = fixer.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_2.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);
																	version_switch_3.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);
																	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);
																	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.setText(R.string.copy_url_14);
																	continue_1.setText(R.string.continue_1_14);
																	cancel.setText(R.string.cancel_14);
																	fixer.setText(R.string.fixer_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();
																	fixer_0 = fixer.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_2.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);
																		version_switch_3.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);
																		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);
																		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.setText(R.string.copy_url_15);
																		continue_1.setText(R.string.continue_1_15);
																		cancel.setText(R.string.cancel_15);
																		fixer.setText(R.string.fixer_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();
																		fixer_0 = fixer.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_2.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);
																			version_switch_3.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);
																			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);
																			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.setText(R.string.copy_url_16);
																			continue_1.setText(R.string.continue_1_16);
																			cancel.setText(R.string.cancel_16);
																			fixer.setText(R.string.fixer_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();
																			fixer_0 = fixer.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_2.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);
																				version_switch_3.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);
																				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);
																				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.setText(R.string.copy_url_17);
																				continue_1.setText(R.string.continue_1_17);
																				cancel.setText(R.string.cancel_17);
																				fixer.setText(R.string.fixer_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();
																				fixer_0 = fixer.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_2.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);
																					version_switch_3.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);
																					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);
																					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.setText(R.string.copy_url_18);
																					continue_1.setText(R.string.continue_1_18);
																					cancel.setText(R.string.cancel_18);
																					fixer.setText(R.string.fixer_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();
																					fixer_0 = fixer.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_2.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);
																						version_switch_3.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);
																						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);
																						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.setText(R.string.copy_url_19);
																						continue_1.setText(R.string.continue_1_19);
																						cancel.setText(R.string.cancel_19);
																						fixer.setText(R.string.fixer_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();
																						fixer_0 = fixer.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_2.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);
																							version_switch_3.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);
																							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);
																							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.setText(R.string.copy_url_20);
																							continue_1.setText(R.string.continue_1_20);
																							cancel.setText(R.string.cancel_20);
																							fixer.setText(R.string.fixer_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();
																							fixer_0 = fixer.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_2.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);
																								version_switch_3.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);
																								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);
																								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.setText(R.string.copy_url_21);
																								continue_1.setText(R.string.continue_1_21);
																								cancel.setText(R.string.cancel_21);
																								fixer.setText(R.string.fixer_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();
																								fixer_0 = fixer.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_2.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);
																									version_switch_3.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);
																									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);
																									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.setText(R.string.copy_url_22);
																									continue_1.setText(R.string.continue_1_22);
																									cancel.setText(R.string.cancel_22);
																									fixer.setText(R.string.fixer_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();
																									fixer_0 = fixer.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));
																								}
																								else {
																									if (LANGUAGE.getString("LANGUAGE", "").equals("23")) {
																										title_1.setText(R.string.spotify_regular_23);
																										title_2.setText(R.string.spotify_amoled_23);
																										sub_text_installed.setText(R.string.installed_23);
																										sub_text_1.setText(R.string.latest_23);
																										sub_text_2.setText(R.string.latest_23);
																										sub_text_3.setText(R.string.latest_23);
																										version_switch_1.setText(R.string.versions_23);
																										version_switch_2.setText(R.string.versions_23);
																										version_switch_3.setText(R.string.versions_23);
																										changelogs.setText(R.string.changelogs_23);
																										title_sub.setText(R.string.manager_tools_23);
																										device_cpu.setText(R.string.device_cpu_23);
																										source.setText(R.string.source_23);
																										support.setText(R.string.support_23);
																										donate.setText(R.string.donate_23);
																										about.setText(R.string.about_23);
																										list_auto_refresh.setText(R.string.list_auto_refresh_23);
																										list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_23);
																										force_auto_install.setText(R.string.force_auto_install_23);
																										force_auto_install_info.setText(R.string.force_auto_install_desc_23);
																										theme.setText(R.string.show_themes_23);
																										apk_location.setText(R.string.apk_location_23);
																										apk_location_info.setText(R.string.apk_location_desc_23);
																										clear_directory_folders.setText(R.string.clear_directory_folders_23);
																										clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_23);
																										reset_settings.setText(R.string.reset_settings_23);
																										sub_title.setText(R.string.about_sub_23);
																										developer_manager.setText(R.string.xmanager_dev_23);
																										developer_spotify.setText(R.string.spotify_mod_devs_23);
																										support_team.setText(R.string.telegram_support_team_23);
																										mod_testers_1.setText(R.string.manager_testers_23);
																										mod_testers_2.setText(R.string.manager_hosting_23);
																										mobilism_team.setText(R.string.mobilism_team_23);
																										forum_team.setText(R.string.forum_team_23);
																										manager_team.setText(R.string.xspotify_team_23);
																										contributors_1.setText(R.string.contributors_23);
																										download_selected.setText(R.string.download_selected_23);
																										download_ready.setText(R.string.download_ready_23);
																										download_ready_desc.setText(R.string.download_ready_desc_23);
																										downloading_file.setText(R.string.downloading_file_23);
																										download_success.setText(R.string.download_success_23);
																										new_update.setText(R.string.new_update_23);
																										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.setText(R.string.copy_url_23);
																										continue_1.setText(R.string.continue_1_23);
																										cancel.setText(R.string.cancel_23);
																										fixer.setText(R.string.fixer_23);
																										download.setText(R.string.download_23);
																										later.setText(R.string.later_23);
																										install_now.setText(R.string.install_now_23);
																										install_update.setText(R.string.install_update_23);
																										go_back.setText(R.string.go_back_23);
																										download_update.setText(R.string.download_update_23);
																										not_now.setText(R.string.not_now_23);
																										show_support.setText(R.string.show_support_23);
																										show_support_desc.setText(R.string.show_support_desc_23);
																										copy_url_0 = copy_url.getText().toString();
																										download_0 = download.getText().toString();
																										continue_0 = continue_1.getText().toString();
																										cancel_0 = cancel.getText().toString();
																										fixer_0 = fixer.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_23);
																										settings_title.setText(R.string.settings_title_23);
																										about_title.setText(R.string.about_title_23);
																										maintenance.setText(R.string.maintenance_23);
																										maintenance_desc.setText(R.string.maintenance_desc_23);
																										thanks.setText(R.string.thanks_23);
																										language.setText(R.string.language_23);
																										website.setText(R.string.website_23);
																										discord.setText(R.string.discord_23);
																										reddit.setText(R.string.reddit_23);
																										faq.setText(R.string.faq_23);
																										cloned_version.setText(R.string.cloned_version_23);
																										cloned_version_info.setText(R.string.cloned_version_desc_23);
																										disable_reward_ad.setText(R.string.disable_rewarded_ads_23);
																										disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_23);
																										installation_failed.setText(R.string.installation_failed_23);
																										installation_failed_desc.setText(R.string.installation_failed_desc_23);
																										installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_23);
																										installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_23);
																										existing_patched.setText(R.string.existing_patched_23);
																										existing_patched_desc.setText(R.string.existing_patched_desc_23);
																										close.setText(R.string.close_23);
																										cloned.setText(R.string.cloned_23);
																										ream.setText(R.string.ream_23);
																										install.setText(R.string.install_23);
																										uninstall.setText(R.string.uninstall_23);
																										ignore.setText(R.string.ignore_23);
																										delete.setText(R.string.delete_23);
																										uninstall_patched.setText(R.string.uninstall_patched_23);
																										open_settings.setText(R.string.open_settings_23);
																										open_patched.setText(R.string.open_patched_23);
																										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)(23));
																									}
																									else {
																										if (LANGUAGE.getString("LANGUAGE", "").equals("24")) {
																											title_1.setText(R.string.spotify_regular_24);
																											title_2.setText(R.string.spotify_amoled_24);
																											sub_text_installed.setText(R.string.installed_24);
																											sub_text_1.setText(R.string.latest_24);
																											sub_text_2.setText(R.string.latest_24);
																											sub_text_3.setText(R.string.latest_24);
																											version_switch_1.setText(R.string.versions_24);
																											version_switch_2.setText(R.string.versions_24);
																											version_switch_3.setText(R.string.versions_24);
																											changelogs.setText(R.string.changelogs_24);
																											title_sub.setText(R.string.manager_tools_24);
																											device_cpu.setText(R.string.device_cpu_24);
																											source.setText(R.string.source_24);
																											support.setText(R.string.support_24);
																											donate.setText(R.string.donate_24);
																											about.setText(R.string.about_24);
																											list_auto_refresh.setText(R.string.list_auto_refresh_24);
																											list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_24);
																											force_auto_install.setText(R.string.force_auto_install_24);
																											force_auto_install_info.setText(R.string.force_auto_install_desc_24);
																											theme.setText(R.string.show_themes_24);
																											apk_location.setText(R.string.apk_location_24);
																											apk_location_info.setText(R.string.apk_location_desc_24);
																											clear_directory_folders.setText(R.string.clear_directory_folders_24);
																											clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_24);
																											reset_settings.setText(R.string.reset_settings_24);
																											sub_title.setText(R.string.about_sub_24);
																											developer_manager.setText(R.string.xmanager_dev_24);
																											developer_spotify.setText(R.string.spotify_mod_devs_24);
																											support_team.setText(R.string.telegram_support_team_24);
																											mod_testers_1.setText(R.string.manager_testers_24);
																											mod_testers_2.setText(R.string.manager_hosting_24);
																											mobilism_team.setText(R.string.mobilism_team_24);
																											forum_team.setText(R.string.forum_team_24);
																											manager_team.setText(R.string.xspotify_team_24);
																											contributors_1.setText(R.string.contributors_24);
																											download_selected.setText(R.string.download_selected_24);
																											download_ready.setText(R.string.download_ready_24);
																											download_ready_desc.setText(R.string.download_ready_desc_24);
																											downloading_file.setText(R.string.downloading_file_24);
																											download_success.setText(R.string.download_success_24);
																											new_update.setText(R.string.new_update_24);
																											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.setText(R.string.copy_url_24);
																											continue_1.setText(R.string.continue_1_24);
																											cancel.setText(R.string.cancel_24);
																											fixer.setText(R.string.fixer_24);
																											download.setText(R.string.download_24);
																											later.setText(R.string.later_24);
																											install_now.setText(R.string.install_now_24);
																											install_update.setText(R.string.install_update_24);
																											go_back.setText(R.string.go_back_24);
																											download_update.setText(R.string.download_update_24);
																											not_now.setText(R.string.not_now_24);
																											show_support.setText(R.string.show_support_24);
																											show_support_desc.setText(R.string.show_support_desc_24);
																											copy_url_0 = copy_url.getText().toString();
																											download_0 = download.getText().toString();
																											continue_0 = continue_1.getText().toString();
																											cancel_0 = cancel.getText().toString();
																											fixer_0 = fixer.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_24);
																											settings_title.setText(R.string.settings_title_24);
																											about_title.setText(R.string.about_title_24);
																											maintenance.setText(R.string.maintenance_24);
																											maintenance_desc.setText(R.string.maintenance_desc_24);
																											thanks.setText(R.string.thanks_24);
																											language.setText(R.string.language_24);
																											website.setText(R.string.website_24);
																											discord.setText(R.string.discord_24);
																											reddit.setText(R.string.reddit_24);
																											faq.setText(R.string.faq_24);
																											cloned_version.setText(R.string.cloned_version_24);
																											cloned_version_info.setText(R.string.cloned_version_desc_24);
																											disable_reward_ad.setText(R.string.disable_rewarded_ads_24);
																											disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_24);
																											installation_failed.setText(R.string.installation_failed_24);
																											installation_failed_desc.setText(R.string.installation_failed_desc_24);
																											installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_24);
																											installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_24);
																											existing_patched.setText(R.string.existing_patched_24);
																											existing_patched_desc.setText(R.string.existing_patched_desc_24);
																											close.setText(R.string.close_24);
																											cloned.setText(R.string.cloned_24);
																											ream.setText(R.string.ream_24);
																											install.setText(R.string.install_24);
																											uninstall.setText(R.string.uninstall_24);
																											ignore.setText(R.string.ignore_24);
																											delete.setText(R.string.delete_24);
																											uninstall_patched.setText(R.string.uninstall_patched_24);
																											open_settings.setText(R.string.open_settings_24);
																											open_patched.setText(R.string.open_patched_24);
																											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)(24));
																										}
																										else {
																											if (LANGUAGE.getString("LANGUAGE", "").equals("25")) {
																												title_1.setText(R.string.spotify_regular_25);
																												title_2.setText(R.string.spotify_amoled_25);
																												sub_text_installed.setText(R.string.installed_25);
																												sub_text_1.setText(R.string.latest_25);
																												sub_text_2.setText(R.string.latest_25);
																												sub_text_3.setText(R.string.latest_25);
																												version_switch_1.setText(R.string.versions_25);
																												version_switch_2.setText(R.string.versions_25);
																												version_switch_3.setText(R.string.versions_25);
																												changelogs.setText(R.string.changelogs_25);
																												title_sub.setText(R.string.manager_tools_25);
																												device_cpu.setText(R.string.device_cpu_25);
																												source.setText(R.string.source_25);
																												support.setText(R.string.support_25);
																												donate.setText(R.string.donate_25);
																												about.setText(R.string.about_25);
																												list_auto_refresh.setText(R.string.list_auto_refresh_25);
																												list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_25);
																												force_auto_install.setText(R.string.force_auto_install_25);
																												force_auto_install_info.setText(R.string.force_auto_install_desc_25);
																												theme.setText(R.string.show_themes_25);
																												apk_location.setText(R.string.apk_location_25);
																												apk_location_info.setText(R.string.apk_location_desc_25);
																												clear_directory_folders.setText(R.string.clear_directory_folders_25);
																												clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_25);
																												reset_settings.setText(R.string.reset_settings_25);
																												sub_title.setText(R.string.about_sub_25);
																												developer_manager.setText(R.string.xmanager_dev_25);
																												developer_spotify.setText(R.string.spotify_mod_devs_25);
																												support_team.setText(R.string.telegram_support_team_25);
																												mod_testers_1.setText(R.string.manager_testers_25);
																												mod_testers_2.setText(R.string.manager_hosting_25);
																												mobilism_team.setText(R.string.mobilism_team_25);
																												forum_team.setText(R.string.forum_team_25);
																												manager_team.setText(R.string.xspotify_team_25);
																												contributors_1.setText(R.string.contributors_25);
																												download_selected.setText(R.string.download_selected_25);
																												download_ready.setText(R.string.download_ready_25);
																												download_ready_desc.setText(R.string.download_ready_desc_25);
																												downloading_file.setText(R.string.downloading_file_25);
																												download_success.setText(R.string.download_success_25);
																												new_update.setText(R.string.new_update_25);
																												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.setText(R.string.copy_url_25);
																												continue_1.setText(R.string.continue_1_25);
																												cancel.setText(R.string.cancel_25);
																												fixer.setText(R.string.fixer_25);
																												download.setText(R.string.download_25);
																												later.setText(R.string.later_25);
																												install_now.setText(R.string.install_now_25);
																												install_update.setText(R.string.install_update_25);
																												go_back.setText(R.string.go_back_25);
																												download_update.setText(R.string.download_update_25);
																												not_now.setText(R.string.not_now_25);
																												show_support.setText(R.string.show_support_25);
																												show_support_desc.setText(R.string.show_support_desc_25);
																												copy_url_0 = copy_url.getText().toString();
																												download_0 = download.getText().toString();
																												continue_0 = continue_1.getText().toString();
																												cancel_0 = cancel.getText().toString();
																												fixer_0 = fixer.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_25);
																												settings_title.setText(R.string.settings_title_25);
																												about_title.setText(R.string.about_title_25);
																												maintenance.setText(R.string.maintenance_25);
																												maintenance_desc.setText(R.string.maintenance_desc_25);
																												thanks.setText(R.string.thanks_25);
																												language.setText(R.string.language_25);
																												website.setText(R.string.website_25);
																												discord.setText(R.string.discord_25);
																												reddit.setText(R.string.reddit_25);
																												faq.setText(R.string.faq_25);
																												cloned_version.setText(R.string.cloned_version_25);
																												cloned_version_info.setText(R.string.cloned_version_desc_25);
																												disable_reward_ad.setText(R.string.disable_rewarded_ads_25);
																												disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_25);
																												installation_failed.setText(R.string.installation_failed_25);
																												installation_failed_desc.setText(R.string.installation_failed_desc_25);
																												installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_25);
																												installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_25);
																												existing_patched.setText(R.string.existing_patched_25);
																												existing_patched_desc.setText(R.string.existing_patched_desc_25);
																												close.setText(R.string.close_25);
																												cloned.setText(R.string.cloned_25);
																												ream.setText(R.string.ream_25);
																												install.setText(R.string.install_25);
																												uninstall.setText(R.string.uninstall_25);
																												ignore.setText(R.string.ignore_25);
																												delete.setText(R.string.delete_25);
																												uninstall_patched.setText(R.string.uninstall_patched_25);
																												open_settings.setText(R.string.open_settings_25);
																												open_patched.setText(R.string.open_patched_25);
																												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)(25));
																											}
																											else {
																												if (LANGUAGE.getString("LANGUAGE", "").equals("26")) {
																													title_1.setText(R.string.spotify_regular_26);
																													title_2.setText(R.string.spotify_amoled_26);
																													sub_text_installed.setText(R.string.installed_26);
																													sub_text_1.setText(R.string.latest_26);
																													sub_text_2.setText(R.string.latest_26);
																													sub_text_3.setText(R.string.latest_26);
																													version_switch_1.setText(R.string.versions_26);
																													version_switch_2.setText(R.string.versions_26);
																													version_switch_3.setText(R.string.versions_26);
																													changelogs.setText(R.string.changelogs_26);
																													title_sub.setText(R.string.manager_tools_26);
																													device_cpu.setText(R.string.device_cpu_26);
																													source.setText(R.string.source_26);
																													support.setText(R.string.support_26);
																													donate.setText(R.string.donate_26);
																													about.setText(R.string.about_26);
																													list_auto_refresh.setText(R.string.list_auto_refresh_26);
																													list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_26);
																													force_auto_install.setText(R.string.force_auto_install_26);
																													force_auto_install_info.setText(R.string.force_auto_install_desc_26);
																													theme.setText(R.string.show_themes_26);
																													apk_location.setText(R.string.apk_location_26);
																													apk_location_info.setText(R.string.apk_location_desc_26);
																													clear_directory_folders.setText(R.string.clear_directory_folders_26);
																													clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_26);
																													reset_settings.setText(R.string.reset_settings_26);
																													sub_title.setText(R.string.about_sub_26);
																													developer_manager.setText(R.string.xmanager_dev_26);
																													developer_spotify.setText(R.string.spotify_mod_devs_26);
																													support_team.setText(R.string.telegram_support_team_26);
																													mod_testers_1.setText(R.string.manager_testers_26);
																													mod_testers_2.setText(R.string.manager_hosting_26);
																													mobilism_team.setText(R.string.mobilism_team_26);
																													forum_team.setText(R.string.forum_team_26);
																													manager_team.setText(R.string.xspotify_team_26);
																													contributors_1.setText(R.string.contributors_26);
																													download_selected.setText(R.string.download_selected_26);
																													download_ready.setText(R.string.download_ready_26);
																													download_ready_desc.setText(R.string.download_ready_desc_26);
																													downloading_file.setText(R.string.downloading_file_26);
																													download_success.setText(R.string.download_success_26);
																													new_update.setText(R.string.new_update_26);
																													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.setText(R.string.copy_url_26);
																													continue_1.setText(R.string.continue_1_26);
																													cancel.setText(R.string.cancel_26);
																													fixer.setText(R.string.fixer_26);
																													download.setText(R.string.download_26);
																													later.setText(R.string.later_26);
																													install_now.setText(R.string.install_now_26);
																													install_update.setText(R.string.install_update_26);
																													go_back.setText(R.string.go_back_26);
																													download_update.setText(R.string.download_update_26);
																													not_now.setText(R.string.not_now_26);
																													show_support.setText(R.string.show_support_26);
																													show_support_desc.setText(R.string.show_support_desc_26);
																													copy_url_0 = copy_url.getText().toString();
																													download_0 = download.getText().toString();
																													continue_0 = continue_1.getText().toString();
																													cancel_0 = cancel.getText().toString();
																													fixer_0 = fixer.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_26);
																													settings_title.setText(R.string.settings_title_26);
																													about_title.setText(R.string.about_title_26);
																													maintenance.setText(R.string.maintenance_26);
																													maintenance_desc.setText(R.string.maintenance_desc_26);
																													thanks.setText(R.string.thanks_26);
																													language.setText(R.string.language_26);
																													website.setText(R.string.website_26);
																													discord.setText(R.string.discord_26);
																													reddit.setText(R.string.reddit_26);
																													faq.setText(R.string.faq_26);
																													cloned_version.setText(R.string.cloned_version_26);
																													cloned_version_info.setText(R.string.cloned_version_desc_26);
																													disable_reward_ad.setText(R.string.disable_rewarded_ads_26);
																													disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_26);
																													installation_failed.setText(R.string.installation_failed_26);
																													installation_failed_desc.setText(R.string.installation_failed_desc_26);
																													installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_26);
																													installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_26);
																													existing_patched.setText(R.string.existing_patched_26);
																													existing_patched_desc.setText(R.string.existing_patched_desc_26);
																													close.setText(R.string.close_26);
																													cloned.setText(R.string.cloned_26);
																													ream.setText(R.string.ream_26);
																													install.setText(R.string.install_26);
																													uninstall.setText(R.string.uninstall_26);
																													ignore.setText(R.string.ignore_26);
																													delete.setText(R.string.delete_26);
																													uninstall_patched.setText(R.string.uninstall_patched_26);
																													open_settings.setText(R.string.open_settings_26);
																													open_patched.setText(R.string.open_patched_26);
																													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)(26));
																												}
																												else {
																													if (LANGUAGE.getString("LANGUAGE", "").equals("27")) {
																														title_1.setText(R.string.spotify_regular_27);
																														title_2.setText(R.string.spotify_amoled_27);
																														sub_text_installed.setText(R.string.installed_27);
																														sub_text_1.setText(R.string.latest_27);
																														sub_text_2.setText(R.string.latest_27);
																														sub_text_3.setText(R.string.latest_27);
																														version_switch_1.setText(R.string.versions_27);
																														version_switch_2.setText(R.string.versions_27);
																														version_switch_3.setText(R.string.versions_27);
																														changelogs.setText(R.string.changelogs_27);
																														title_sub.setText(R.string.manager_tools_27);
																														device_cpu.setText(R.string.device_cpu_27);
																														source.setText(R.string.source_27);
																														support.setText(R.string.support_27);
																														donate.setText(R.string.donate_27);
																														about.setText(R.string.about_27);
																														list_auto_refresh.setText(R.string.list_auto_refresh_27);
																														list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_27);
																														force_auto_install.setText(R.string.force_auto_install_27);
																														force_auto_install_info.setText(R.string.force_auto_install_desc_27);
																														theme.setText(R.string.show_themes_27);
																														apk_location.setText(R.string.apk_location_27);
																														apk_location_info.setText(R.string.apk_location_desc_27);
																														clear_directory_folders.setText(R.string.clear_directory_folders_27);
																														clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_27);
																														reset_settings.setText(R.string.reset_settings_27);
																														sub_title.setText(R.string.about_sub_27);
																														developer_manager.setText(R.string.xmanager_dev_27);
																														developer_spotify.setText(R.string.spotify_mod_devs_27);
																														support_team.setText(R.string.telegram_support_team_27);
																														mod_testers_1.setText(R.string.manager_testers_27);
																														mod_testers_2.setText(R.string.manager_hosting_27);
																														mobilism_team.setText(R.string.mobilism_team_27);
																														forum_team.setText(R.string.forum_team_27);
																														manager_team.setText(R.string.xspotify_team_27);
																														contributors_1.setText(R.string.contributors_27);
																														download_selected.setText(R.string.download_selected_27);
																														download_ready.setText(R.string.download_ready_27);
																														download_ready_desc.setText(R.string.download_ready_desc_27);
																														downloading_file.setText(R.string.downloading_file_27);
																														download_success.setText(R.string.download_success_27);
																														new_update.setText(R.string.new_update_27);
																														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.setText(R.string.copy_url_27);
																														continue_1.setText(R.string.continue_1_27);
																														cancel.setText(R.string.cancel_27);
																														fixer.setText(R.string.fixer_27);
																														download.setText(R.string.download_27);
																														later.setText(R.string.later_27);
																														install_now.setText(R.string.install_now_27);
																														install_update.setText(R.string.install_update_27);
																														go_back.setText(R.string.go_back_27);
																														download_update.setText(R.string.download_update_27);
																														not_now.setText(R.string.not_now_27);
																														show_support.setText(R.string.show_support_27);
																														show_support_desc.setText(R.string.show_support_desc_27);
																														copy_url_0 = copy_url.getText().toString();
																														download_0 = download.getText().toString();
																														continue_0 = continue_1.getText().toString();
																														cancel_0 = cancel.getText().toString();
																														fixer_0 = fixer.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_27);
																														settings_title.setText(R.string.settings_title_27);
																														about_title.setText(R.string.about_title_27);
																														maintenance.setText(R.string.maintenance_27);
																														maintenance_desc.setText(R.string.maintenance_desc_27);
																														thanks.setText(R.string.thanks_27);
																														language.setText(R.string.language_27);
																														website.setText(R.string.website_27);
																														discord.setText(R.string.discord_27);
																														reddit.setText(R.string.reddit_27);
																														faq.setText(R.string.faq_27);
																														cloned_version.setText(R.string.cloned_version_27);
																														cloned_version_info.setText(R.string.cloned_version_desc_27);
																														disable_reward_ad.setText(R.string.disable_rewarded_ads_27);
																														disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_27);
																														installation_failed.setText(R.string.installation_failed_27);
																														installation_failed_desc.setText(R.string.installation_failed_desc_27);
																														installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_27);
																														installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_27);
																														existing_patched.setText(R.string.existing_patched_27);
																														existing_patched_desc.setText(R.string.existing_patched_desc_27);
																														close.setText(R.string.close_27);
																														cloned.setText(R.string.cloned_27);
																														ream.setText(R.string.ream_27);
																														install.setText(R.string.install_27);
																														uninstall.setText(R.string.uninstall_27);
																														ignore.setText(R.string.ignore_27);
																														delete.setText(R.string.delete_27);
																														uninstall_patched.setText(R.string.uninstall_patched_27);
																														open_settings.setText(R.string.open_settings_27);
																														open_patched.setText(R.string.open_patched_27);
																														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)(27));
																													}
																													else {
																														if (LANGUAGE.getString("LANGUAGE", "").equals("28")) {
																															title_1.setText(R.string.spotify_regular_28);
																															title_2.setText(R.string.spotify_amoled_28);
																															sub_text_installed.setText(R.string.installed_28);
																															sub_text_1.setText(R.string.latest_28);
																															sub_text_2.setText(R.string.latest_28);
																															sub_text_3.setText(R.string.latest_28);
																															version_switch_1.setText(R.string.versions_28);
																															version_switch_2.setText(R.string.versions_28);
																															version_switch_3.setText(R.string.versions_28);
																															changelogs.setText(R.string.changelogs_28);
																															title_sub.setText(R.string.manager_tools_28);
																															device_cpu.setText(R.string.device_cpu_28);
																															source.setText(R.string.source_28);
																															support.setText(R.string.support_28);
																															donate.setText(R.string.donate_28);
																															about.setText(R.string.about_28);
																															list_auto_refresh.setText(R.string.list_auto_refresh_28);
																															list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_28);
																															force_auto_install.setText(R.string.force_auto_install_28);
																															force_auto_install_info.setText(R.string.force_auto_install_desc_28);
																															theme.setText(R.string.show_themes_28);
																															apk_location.setText(R.string.apk_location_28);
																															apk_location_info.setText(R.string.apk_location_desc_28);
																															clear_directory_folders.setText(R.string.clear_directory_folders_28);
																															clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_28);
																															reset_settings.setText(R.string.reset_settings_28);
																															sub_title.setText(R.string.about_sub_28);
																															developer_manager.setText(R.string.xmanager_dev_28);
																															developer_spotify.setText(R.string.spotify_mod_devs_28);
																															support_team.setText(R.string.telegram_support_team_28);
																															mod_testers_1.setText(R.string.manager_testers_28);
																															mod_testers_2.setText(R.string.manager_hosting_28);
																															mobilism_team.setText(R.string.mobilism_team_28);
																															forum_team.setText(R.string.forum_team_28);
																															manager_team.setText(R.string.xspotify_team_28);
																															contributors_1.setText(R.string.contributors_28);
																															download_selected.setText(R.string.download_selected_28);
																															download_ready.setText(R.string.download_ready_28);
																															download_ready_desc.setText(R.string.download_ready_desc_28);
																															downloading_file.setText(R.string.downloading_file_28);
																															download_success.setText(R.string.download_success_28);
																															new_update.setText(R.string.new_update_28);
																															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.setText(R.string.copy_url_28);
																															continue_1.setText(R.string.continue_1_28);
																															cancel.setText(R.string.cancel_28);
																															fixer.setText(R.string.fixer_28);
																															download.setText(R.string.download_28);
																															later.setText(R.string.later_28);
																															install_now.setText(R.string.install_now_28);
																															install_update.setText(R.string.install_update_28);
																															go_back.setText(R.string.go_back_28);
																															download_update.setText(R.string.download_update_28);
																															not_now.setText(R.string.not_now_28);
																															show_support.setText(R.string.show_support_28);
																															show_support_desc.setText(R.string.show_support_desc_28);
																															copy_url_0 = copy_url.getText().toString();
																															download_0 = download.getText().toString();
																															continue_0 = continue_1.getText().toString();
																															cancel_0 = cancel.getText().toString();
																															fixer_0 = fixer.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_28);
																															settings_title.setText(R.string.settings_title_28);
																															about_title.setText(R.string.about_title_28);
																															maintenance.setText(R.string.maintenance_28);
																															maintenance_desc.setText(R.string.maintenance_desc_28);
																															thanks.setText(R.string.thanks_28);
																															language.setText(R.string.language_28);
																															website.setText(R.string.website_28);
																															discord.setText(R.string.discord_28);
																															reddit.setText(R.string.reddit_28);
																															faq.setText(R.string.faq_28);
																															cloned_version.setText(R.string.cloned_version_28);
																															cloned_version_info.setText(R.string.cloned_version_desc_28);
																															disable_reward_ad.setText(R.string.disable_rewarded_ads_28);
																															disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_28);
																															installation_failed.setText(R.string.installation_failed_28);
																															installation_failed_desc.setText(R.string.installation_failed_desc_28);
																															installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_28);
																															installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_28);
																															existing_patched.setText(R.string.existing_patched_28);
																															existing_patched_desc.setText(R.string.existing_patched_desc_28);
																															close.setText(R.string.close_28);
																															cloned.setText(R.string.cloned_28);
																															ream.setText(R.string.ream_28);
																															install.setText(R.string.install_28);
																															uninstall.setText(R.string.uninstall_28);
																															ignore.setText(R.string.ignore_28);
																															delete.setText(R.string.delete_28);
																															uninstall_patched.setText(R.string.uninstall_patched_28);
																															open_settings.setText(R.string.open_settings_28);
																															open_patched.setText(R.string.open_patched_28);
																															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)(28));
																														}
																													}
																												}
																											}
																										}
																									}
																								}
																							}
																						}
																					}
																				}
																			}
																		}
																	}
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
	
	
	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");
		Language.add("Slovak");
		Language.add("Swedish");
		Language.add("Finnish");
		Language.add("Czech");
		Language.add("Chinese (Traditional)");
		Language.add("Bulgarian");
		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_2.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);
		version_switch_3.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);
		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);
		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.setText(R.string.copy_url);
		continue_1.setText(R.string.continue_1);
		cancel.setText(R.string.cancel);
		fixer.setText(R.string.fixer);
		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();
		fixer_0 = fixer.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_3.startAnimation(c);
		c = null;
		Animation d;
		d = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		d.setDuration(500); main_box_6.startAnimation(d);
		d = null;
		Animation e;
		e = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		e.setDuration(600); box_sub_header.startAnimation(e);
		e = null;
		Animation f;
		f = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		f.setDuration(700); main_box_4.startAnimation(f);
		f = null;
		Animation g;
		g = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
		g.setDuration(800); main_box_15.startAnimation(g);
		g = 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_menu_3.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_3 == null || list_menu_3.getChildCount() == 0) ? 0 : list_menu_3.getChildAt(0).getTop(); main_refresh_layout.setEnabled(firstVisibleItem == 0 && topRowVerticalPosition >= 0); } });
		list_menu_4.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_4 == null || list_menu_4.getChildCount() == 0) ? 0 : list_menu_4.getChildAt(0).getTop(); main_refresh_layout.setEnabled(firstVisibleItem == 0 && topRowVerticalPosition >= 0); } });
		list_menu_5.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_5 == null || list_menu_5.getChildCount() == 0) ? 0 : list_menu_5.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(80);
		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) {
		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.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
				Thread progress = new Thread() {
						@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.setCancelable(false);
																				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) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																} catch (Exception e) {
																																}
																														}
																												});
																										}
																								};
																								_timer.schedule(Timer, (int)(0));
																						}
																				});
																				prog.setButton(DialogInterface.BUTTON_NEUTRAL, fixer_0, new DialogInterface.OnClickListener() {
																						@Override
																						public void onClick(DialogInterface dialog, int which) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																		_Reminder();
																																		_Browser(hidden_download.getText().toString());
																																} 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()) {
																										_Extension_2();
																										prog.dismiss();
																								}
																								prog.dismiss();
																						}
																				});
																		}
																};
																_timer.schedule(Timer, (int)(1500));
														}
												}
												cursor.close();
										}
								}
						}
				};
				progress.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();
		}
		
	}
	
	
	public void _Download_Install_Cloned(final String _url, final String _path) {
		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.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
				Thread progress = new Thread() {
						@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.setCancelable(false);
																				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) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																} catch (Exception e) {
																																}
																														}
																												});
																										}
																								};
																								_timer.schedule(Timer, (int)(0));
																						}
																				});
																				prog.setButton(DialogInterface.BUTTON_NEUTRAL, fixer_0, new DialogInterface.OnClickListener() {
																						@Override
																						public void onClick(DialogInterface dialog, int which) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																		_Reminder();
																																		_Browser(hidden_download.getText().toString());
																																} 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) {
																												}
																												Timer = new TimerTask() {
																														@Override
																														public void run() {
																																runOnUiThread(new Runnable() {
																																		@Override
																																		public void run() {
																																				prog.dismiss();
																																				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);
																																												_Reminder();
																																										}
																																										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);
																																												_Reminder();
																																										}
																																										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) {
																																														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) {
																																								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) {
																																														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();
																																								}
																																						}
																																				}
																																		}
																																});
																														}
																												};
																												_timer.schedule(Timer, (int)(100));
																										}
																								});
																						}
																				};
																				_timer.schedule(Timer, (int)(1500));
																		}
																}
														});
												}
												cursor.close();
										}
								}
						}
				};
				progress.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();
		}
		
	}
	
	
	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;
		}
		
		String uri_lite = "com.spotify.lite";
		android.content.pm.PackageManager pm_lite = getPackageManager();
		
		try {
				android.content.pm.PackageInfo Installed_Lite = pm_lite.getPackageInfo(uri_lite, android.content.pm.PackageManager.GET_ACTIVITIES);
				Installed_Version_Lite = Installed_Lite.versionCode;
		}
		catch (Exception e) {
		}
		
		
		try {
				android.content.pm.PackageInfo Downloaded_Lite = this.getPackageManager().getPackageArchiveInfo(apk_path_location.getText().toString().concat("Spotify Lite Mod (Official).apk"), PackageManager.GET_ACTIVITIES);
				Downloaded_Version_Lite = Downloaded_Lite.versionCode;
		}
		catch (Exception e) {
				Downloaded_Version_Lite = Installed_Version_Lite;
		}
		
	}
	
	
	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 _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 _API() {
		try {
			Connection.startRequestNetwork(RequestNetworkController.GET, "https://xmanagerapp.com/api/public.json", "A", _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());
							Lite = (new Gson()).toJson(Datas.get("Lite"), 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());
							lite = new Gson().fromJson(Lite, 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());
							sub_9.setText(Datas.get("Lite_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_menu_5.setAdapter(new List_menu_5Adapter(lite));
							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_menu_5.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)(100));
	}
	
	
	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);
		title_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_5.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_7.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_9.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_text_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_text_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_text_3.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);
		version_switch_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_installed.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_separator_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_installed_c.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_separator_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		sub_installed_l.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);
		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);
		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);
		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"), 0);
		amoled_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 0);
		lite_info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 0);
		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);
		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_3.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_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_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));
		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));
		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_menu_5.setVisibility(View.GONE);
		list_changelogs.setVisibility(View.GONE);
		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();
				}
				
				if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/")) {
					FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/");
				}
				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));
				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() {
												cloned_version_switch.setChecked(false);
												Timer = new TimerTask() {
													@Override
													public void run() {
														runOnUiThread(new Runnable() {
															@Override
															public void run() {
																force_auto_install_switch.setChecked(true);
																Timer = new TimerTask() {
																	@Override
																	public void run() {
																		runOnUiThread(new Runnable() {
																			@Override
																			public void run() {
																				force_auto_install_switch.setChecked(false);
																			}
																		});
																	}
																};
																_timer.schedule(Timer, (int)(700));
															}
														});
													}
												};
												_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.setVisibility(View.GONE);
										list_menu_2.setVisibility(View.GONE);
										list_menu_3.setVisibility(View.VISIBLE);
										list_menu_4.setVisibility(View.GONE);
										list_menu_5.setVisibility(View.GONE);
										list_changelogs.setVisibility(View.GONE);
										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.setVisibility(View.VISIBLE);
											list_menu_2.setVisibility(View.GONE);
											list_menu_3.setVisibility(View.GONE);
											list_menu_4.setVisibility(View.GONE);
											list_menu_5.setVisibility(View.GONE);
											list_changelogs.setVisibility(View.GONE);
											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_oc_01.setImageResource(R.drawable.open);
									version_oc_02.setImageResource(R.drawable.close);
									version_oc_03.setImageResource(R.drawable.close);
									changelogs_oc.setImageResource(R.drawable.close);
									Timer = new TimerTask() {
										@Override
										public void run() {
											runOnUiThread(new Runnable() {
												@Override
												public void run() {
													if (CLONED_VERSION.getString("CLONED", "").equals("ON")) {
														list_menu_1.setVisibility(View.GONE);
														list_menu_2.setVisibility(View.GONE);
														list_menu_3.setVisibility(View.GONE);
														list_menu_4.setVisibility(View.VISIBLE);
														list_menu_5.setVisibility(View.GONE);
														list_changelogs.setVisibility(View.GONE);
														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_1.setVisibility(View.GONE);
															list_menu_2.setVisibility(View.VISIBLE);
															list_menu_3.setVisibility(View.GONE);
															list_menu_4.setVisibility(View.GONE);
															list_menu_5.setVisibility(View.GONE);
															list_changelogs.setVisibility(View.GONE);
															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_oc_01.setImageResource(R.drawable.close);
													version_oc_02.setImageResource(R.drawable.open);
													version_oc_03.setImageResource(R.drawable.close);
													changelogs_oc.setImageResource(R.drawable.close);
													Timer = new TimerTask() {
														@Override
														public void run() {
															runOnUiThread(new Runnable() {
																@Override
																public void run() {
																	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_menu_5.setVisibility(View.VISIBLE);
																	list_changelogs.setVisibility(View.GONE);
																	version_oc_01.setImageResource(R.drawable.close);
																	version_oc_02.setImageResource(R.drawable.close);
																	version_oc_03.setImageResource(R.drawable.open);
																	changelogs_oc.setImageResource(R.drawable.close);
																	list_menu_5.setAdapter(new List_menu_5Adapter(lite));
																	((BaseAdapter)list_menu_5.getAdapter()).notifyDataSetChanged();
																	Timer = new TimerTask() {
																		@Override
																		public void run() {
																			runOnUiThread(new Runnable() {
																				@Override
																				public void run() {
																					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_menu_5.setVisibility(View.GONE);
																					list_changelogs.setVisibility(View.VISIBLE);
																					version_oc_01.setImageResource(R.drawable.close);
																					version_oc_02.setImageResource(R.drawable.close);
																					version_oc_03.setImageResource(R.drawable.close);
																					changelogs_oc.setImageResource(R.drawable.open);
																					list_changelogs.setAdapter(new List_changelogsAdapter(mod_changelogs));
																					((BaseAdapter)list_changelogs.getAdapter()).notifyDataSetChanged();
																					Timer = new TimerTask() {
																						@Override
																						public void run() {
																							runOnUiThread(new Runnable() {
																								@Override
																								public void run() {
																									main_refresh_layout.setRefreshing(false);
																									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_menu_5.setVisibility(View.GONE);
																									list_changelogs.setVisibility(View.GONE);
																									version_oc_01.setImageResource(R.drawable.close);
																									version_oc_02.setImageResource(R.drawable.close);
																									version_oc_03.setImageResource(R.drawable.close);
																									changelogs_oc.setImageResource(R.drawable.close);
																									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)(700));
																				}
																			});
																		}
																	};
																	_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();
					_Clickers();
				}
				catch(Exception e) {
				}
			}
		});
		if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
				CharSequence name = "Null";
				String description = "Null";
				int importance = NotificationManager.IMPORTANCE_MAX;
				NotificationChannel channel = new NotificationChannel("id 1", name, importance);
				channel.setDescription(description);
				
				NotificationManager notificationManager = getSystemService(NotificationManager.class);
				notificationManager.createNotificationChannel(channel);
		}
		
		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();
		_Clickers();
		_Effects();
		_Extra();
	}
	
	
	public void _API_Token() {
		main_refresh_layout.setRefreshing(true);
		if (SketchwareUtil.isConnected(getApplicationContext())) {
			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() {
							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();
								main_refresh_layout.setRefreshing(false);
								main_body.setAlpha((float)(1.0d));
							}
							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();
									main_refresh_layout.setRefreshing(false);
									main_body.setAlpha((float)(1.0d));
								}
								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 {
			Timer = new TimerTask() {
				@Override
				public void run() {
					runOnUiThread(new Runnable() {
						@Override
						public void run() {
							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(false);
							main_body.setAlpha((float)(1.0d));
						}
					});
				}
			};
			_timer.schedule(Timer, (int)(500));
		}
	}
	
	
	public void _Clickers() {
		CLICKER_1 = 1;
		CLICKER_2 = 1;
		CLICKER_3 = 1;
		CLICKER_4 = 1;
	}
	
	
	public void _Extension_1() {
		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);
						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);
														_Reminder();
												}
												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);
														_Reminder();
												}
												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) {
																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) {
										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) {
																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();
										}
								}
						}
				}
		});
		Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener(){
				@Override
				public void onClick(DialogInterface Success_Download, int p) {
						AlertDialog.setCancelable(true);
						_Reminder();
				}
		});
		AlertDialog = Success_Download.create();
		AlertDialog.setCancelable(false);
		AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
		AlertDialog.show();
		
	}
	
	
	public void _Extension_2() {
		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);
						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);
														_Reminder();
												}
												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);
														_Reminder();
												}
												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) {
																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 (!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) {
																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();
										}
								}
						}
				}
		});
		Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener(){
				@Override
				public void onClick(DialogInterface Success_Download, int p) {
						AlertDialog.setCancelable(true);
						_Reminder();
				}
		});
		AlertDialog = Success_Download.create();
		AlertDialog.setCancelable(false);
		AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
		AlertDialog.show();
		
	}
	
	
	public void _Extension_3() {
		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);
						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);
								}
								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();
		
	}
	
	
	public void _Extension_4() {
		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);
						                _Reminder();
								}
								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);
						                _Reminder();
								}
								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();
				}
		}	
		
	}
	
	
	public void _Extension_5() {
		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);
						                _Reminder();
								}
								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);
						                _Reminder();
								}
								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();
				}
		}
		
	}
	
	
	public void _Reinitialize() {
		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);
		manager_lang_24.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_25.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_26.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_27.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_28.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		manager_lang_29.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);
		translator_24.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_25.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_26.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_27.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_28.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
		translator_29.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
	}
	
	
	public void _Reminder() {
		try {
				final String App = "xManager";
				final String Read = "READ ME";
				final String contentTitle = "IMPORTANT NOTE";
				final String contentMessage = "After installing and logging-in, make sure to reopen or force close the Spotify app to enable the mod features.";
				
				final Notification.Builder builder = new Notification.Builder(MainActivity.this, "id 1");
				builder.setStyle(new Notification.BigTextStyle(builder)
				.bigText(contentMessage)
				.setBigContentTitle(contentTitle)
				.setSummaryText(Read))
				.setContentTitle(contentTitle)
				.setContentText(contentMessage)
				.setSmallIcon(R.drawable.icon_notification)	;
				
				final NotificationManager push = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
				push.notify(1, builder.build());
		}
		catch(Exception e) {
		}
		
	}
	
	
	public void _Signature_Checker_Lite() {
	}
	public String getILSignature(Context context) {
			try {
					android.content.pm.PackageInfo packageInfo = context.getPackageManager().getPackageInfo("com.spotify.lite", PackageManager.GET_SIGNATURES);
					for (android.content.pm.Signature signature : packageInfo.signatures) {
							String il_sha1 = geti_SHA1_(signature.toByteArray());
							return il_sha1;
					}
			} catch (android.content.pm.PackageManager.NameNotFoundException e) {
			}
			return "";
	}
	
	public String getil_SHA1_(byte[] sig) {
			try {
					java.security.MessageDigest digest = java.security.MessageDigest.getInstance("SHA1");
					digest.update(sig);
					byte[] hashtext = digest.digest();
					return il_bytes_To_Hex_(hashtext);
			} catch (java.security.NoSuchAlgorithmException e) {
			}
			return "";
	}
	
	public String il_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 getDLSignature(Context context) {
			try {
					android.content.pm.PackageInfo packageArchiveInfo = context.getPackageManager().getPackageArchiveInfo(apk_path_location.getText().toString().concat("Spotify Lite Mod (Official).apk"), PackageManager.GET_SIGNATURES);
					for (android.content.pm.Signature signature : packageArchiveInfo.signatures) {
							String dl_sha1 = getd_SHA1_(signature.toByteArray());
							return dl_sha1;
					}
			} catch (Exception e) {
			}
			return "";
	}
	
	public String getdl_SHA1_(byte[] sig) {
			try {
					java.security.MessageDigest digest = java.security.MessageDigest.getInstance("SHA1");
					digest.update(sig);
					byte[] hashtext = digest.digest();
					return dl_bytes_To_Hex_(hashtext);
			} catch (java.security.NoSuchAlgorithmException e) {
			}
			return "";
	}
	
	public String dl_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_Lite(final String _url, final String _path) {
		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 Lite 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.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
				Thread progress = new Thread() {
						@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.setCancelable(false);
																				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) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																} catch (Exception e) {
																																}
																														}
																												});
																										}
																								};
																								_timer.schedule(Timer, (int)(0));
																						}
																				});
																				prog.setButton(DialogInterface.BUTTON_NEUTRAL, fixer_0, new DialogInterface.OnClickListener() {
																						@Override
																						public void onClick(DialogInterface dialog, int which) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																		_Reminder();
																																		_Browser(hidden_download.getText().toString());
																																} 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 Lite Mod (Official).apk", apk_path_location.getText().toString().concat("Spotify Lite Mod (Official).apk"));
																								}
																								catch(Exception e) {
																								}
																								if (!MainActivity.this.isFinishing()) {
																										_Extension_7();
																										prog.dismiss();
																								}
																								prog.dismiss();
																						}
																				});
																		}
																};
																_timer.schedule(Timer, (int)(1500));
														}
												}
												cursor.close();
										}
								}
						}
				};
				progress.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();
		}
		
	}
	
	
	public void _Download_Install_Lite(final String _url, final String _path) {
		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 Lite 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.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
				Thread progress = new Thread() {
						@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.setCancelable(false);
																				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) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																} catch (Exception e) {
																																}
																														}
																												});
																										}
																								};
																								_timer.schedule(Timer, (int)(0));
																						}
																				});
																				prog.setButton(DialogInterface.BUTTON_NEUTRAL, fixer_0, new DialogInterface.OnClickListener() {
																						@Override
																						public void onClick(DialogInterface dialog, int which) {
																								prog.setCancelable(true);
																								manager.remove(downloadId);
																								_File_Remover();
																								Timer = new TimerTask() {
																										@Override
																										public void run() {
																												runOnUiThread(new Runnable() {
																														@Override
																														public void run() {
																																try {
																																		prog.dismiss();
																																		_Reminder();
																																		_Browser(hidden_download.getText().toString());
																																} 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 Lite Mod (Official).apk", apk_path_location.getText().toString().concat("Spotify Lite Mod (Official).apk"));
																												}
																												catch(Exception e) {
																												}
																												Timer = new TimerTask() {
																														@Override
																														public void run() {
																																runOnUiThread(new Runnable() {
																																		@Override
																																		public void run() {
																																				prog.dismiss();
																																				if ((Installed_Version_Lite < Downloaded_Version_Lite) || ((Downloaded_Version_Lite > Installed_Version_Lite) || ((Installed_Version_Lite == Downloaded_Version_Lite) || Installed_Checker_Lite.equals("false")))) {
																																						if (getILSignature(getApplicationContext()).equals(getDLSignature(getApplicationContext())) || Installed_Checker_Lite.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 Lite Mod (Official).apk")), "application/vnd.android.package-archive");
																																												startActivity(intent);
																																												_Reminder();
																																										}
																																										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 Lite Mod (Official).apk")), "application/vnd.android.package-archive");
																																												startActivity(intent);
																																												_Reminder();
																																										}
																																										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) {
																																														AlertDialog.setCancelable(true);
																																														try {
																																																Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.lite")); 
																																																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_Lite < Installed_Version_Lite) {
																																								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) {
																																														AlertDialog.setCancelable(true);
																																														try {
																																																Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.lite")); 
																																																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();
																																								}
																																						}
																																				}
																																		}
																																});
																														}
																												};
																												_timer.schedule(Timer, (int)(100));
																										}
																								});
																						}
																				};
																				_timer.schedule(Timer, (int)(1500));
																		}
																}
														});
												}
												cursor.close();
										}
								}
						}
				};
				progress.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();
		}
		
	}
	
	
	public void _Extension_6() {
		if ((Installed_Version_Lite < Downloaded_Version_Lite) || ((Downloaded_Version_Lite > Installed_Version_Lite) || ((Installed_Version_Lite == Downloaded_Version_Lite) || Installed_Checker_Lite.equals("false")))) {
				if (getILSignature(getApplicationContext()).equals(getDLSignature(getApplicationContext())) || Installed_Checker_Lite.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 Lite Mod (Official).apk")), "application/vnd.android.package-archive");
										startActivity(intent);
										_Reminder();
								}
								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 Lite Mod (Official).apk")), "application/vnd.android.package-archive");
										startActivity(intent);
										_Reminder();
								}
								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.lite")); 
												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_Lite < Installed_Version_Lite) {
						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.lite")); 
												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();
				}
		}
		
	}
	
	
	public void _Extension_7() {
		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);
						if ((Installed_Version_Lite < Downloaded_Version_Lite) || ((Downloaded_Version_Lite > Installed_Version_Lite) || ((Installed_Version_Lite == Downloaded_Version_Lite) || Installed_Checker_Lite.equals("false")))) {
								if (getILSignature(getApplicationContext()).equals(getDLSignature(getApplicationContext())) || Installed_Checker_Lite.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 Lite Mod (Official).apk")), "application/vnd.android.package-archive");
														startActivity(intent);
														_Reminder();
												}
												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 Lite Mod (Official).apk")), "application/vnd.android.package-archive");
														startActivity(intent);
														_Reminder();
												}
												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) {
																AlertDialog.setCancelable(true);
																try {
																		Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.lite")); 
																		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 (!MainActivity.this.isFinishing()) {
										if (Downloaded_Version_Lite < Installed_Version_Lite) {
												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.lite")); 
																		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();
										}
								}
						}
				}
		});
		Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener(){
				@Override
				public void onClick(DialogInterface Success_Download, int p) {
						AlertDialog.setCancelable(true);
						_Reminder();
				}
		});
		AlertDialog = Success_Download.create();
		AlertDialog.setCancelable(false);
		AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
		AlertDialog.show();
		
	}
	
	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.fade_in);
				animation.setDuration(500); 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.fade_in);
				animation.setDuration(500); 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.fade_in);
				animation.setDuration(500); 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.fade_in);
				animation.setDuration(500); 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_5Adapter extends BaseAdapter {
		
		ArrayList<HashMap<String, Object>> _data;
		
		public List_menu_5Adapter(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_5, null);
			}
			
			final LinearLayout box_lite = _view.findViewById(R.id.box_lite);
			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(lite.get((int)(lite.size() - 1) - _position).get("Title").toString());
				link.setText(lite.get((int)(lite.size() - 1) - _position).get("Link").toString());
				Animation animation;
				animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
				animation.setDuration(500); box_lite.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.fade_in);
				animation.setDuration(500); 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;
	}
}