commit 79422ed8cc123deaaefd3c1c5227f697d71ef70d
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Sun Jan 29 01:54:52 2023 +0100

    Fix a bug with level buttons in objects with less than 9 numScramble.

diff --git a/src/main/java/org/distorted/screens/RubikScreenPlay.java b/src/main/java/org/distorted/screens/RubikScreenPlay.java
index 5f7ffd44..fb34f05a 100644
--- a/src/main/java/org/distorted/screens/RubikScreenPlay.java
+++ b/src/main/java/org/distorted/screens/RubikScreenPlay.java
@@ -102,7 +102,6 @@ public class RubikScreenPlay extends RubikScreenBase implements RubikNetwork.Upd
     mMenuTextSize     = (int)(mScreenHeight*MENU_TEXT_SIZE);
 
     mObjectPopup = null;
-    mOldNumScramble = 1000; // used to remember which 'level' buttons are visible; initially all visible
 
     // TOP ////////////////////////////
     LinearLayout layoutTop = act.findViewById(R.id.upperBar);
@@ -468,6 +467,8 @@ public class RubikScreenPlay extends RubikScreenBase implements RubikNetwork.Upd
     LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(mLevelWidth,mLevelHeight);
     params.setMargins(margin,margin,margin,margin);
 
+    mOldNumScramble = LEVELS_SHOWN+1;
+
     mLevel = new Button[LEVELS_SHOWN+1];
 
     mLevel[0] = layout.findViewById(R.id.level1);
