commit 4fc7b1e62ee379cb8806dedd6ded60f0593c424a
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Fri Jun 11 00:06:44 2021 +0200

    Fix the fact that in the last, 'Full Scramble' level, it wouldn't switch on the green light.

diff --git a/src/main/java/org/distorted/screens/RubikScreenPlay.java b/src/main/java/org/distorted/screens/RubikScreenPlay.java
index 4569b23a..a1bd6fcc 100644
--- a/src/main/java/org/distorted/screens/RubikScreenPlay.java
+++ b/src/main/java/org/distorted/screens/RubikScreenPlay.java
@@ -521,7 +521,10 @@ public class RubikScreenPlay extends RubikScreenBase
       levels[i] = act.getString(R.string.lv_placeholder,i+1);
       }
 
-    levels[numLevel-1] = act.getString(R.string.level_full);
+    if( numLevel>0 )
+      {
+      levels[numLevel-1] = act.getString(R.string.level_full);
+      }
 
     if( mLevelValue>maxLevel || mLevelValue<1 ||
        (mLevelValue<maxLevel || mLevelValue>LEVELS_SHOWN ) )
@@ -555,7 +558,7 @@ public class RubikScreenPlay extends RubikScreenBase
       button.setText(levels[i]);
       button.setTextSize(TypedValue.COMPLEX_UNIT_PX, mMenuTextSize);
 
-      int icon = scores.isSolved(mObject, sizeIndex, i) ? R.drawable.ui_solved : R.drawable.ui_notsolved;
+      int icon = scores.isSolved(mObject, sizeIndex, scrambles-1) ? R.drawable.ui_solved : R.drawable.ui_notsolved;
       button.setCompoundDrawablesWithIntrinsicBounds(icon,0,0,0);
 
       button.setOnClickListener( new View.OnClickListener()
