commit cbde510003a4b3326cd33dcded1dae4f234aa574
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Sat Nov 15 23:57:29 2025 +0100

    progress with remembering solves

diff --git a/src/main/java/org/distorted/main/MainActivity.java b/src/main/java/org/distorted/main/MainActivity.java
index 28db6e8d..bbbbc3b1 100644
--- a/src/main/java/org/distorted/main/MainActivity.java
+++ b/src/main/java/org/distorted/main/MainActivity.java
@@ -354,9 +354,9 @@ public class MainActivity extends BaseActivity implements RubikNetwork.Updatee,
       if( rot!=null )
         {
         intent.putExtra("rot0", rot.get0() );
-        intent.putExtra("rot1", rot.get0() );
-        intent.putExtra("rot2", rot.get0() );
-        intent.putExtra("rot3", rot.get0() );
+        intent.putExtra("rot1", rot.get1() );
+        intent.putExtra("rot2", rot.get2() );
+        intent.putExtra("rot3", rot.get3() );
         }
       if( quats!=null )
         {
diff --git a/src/main/java/org/distorted/main/MainSolvesPopup.java b/src/main/java/org/distorted/main/MainSolvesPopup.java
index f4441230..fa504678 100644
--- a/src/main/java/org/distorted/main/MainSolvesPopup.java
+++ b/src/main/java/org/distorted/main/MainSolvesPopup.java
@@ -91,7 +91,7 @@ public class MainSolvesPopup
         int elapsed = solves.getElapsed(object);
         Static4D rotQuat = solves.getRotQuat(object);
         int[] quats = solves.getQuats(object);
-        View pane = createOldPane(act, s, time, elapsed, rotQuat, quats, pL, pT);
+        View pane = createOldPane(act, time, elapsed, rotQuat, quats, pL, pT);
         mLayout.addView(pane);
         }
       }
@@ -122,8 +122,8 @@ public class MainSolvesPopup
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
-  private View createOldPane(MainActivity act, int index, long time, int elapsed, Static4D rot,
-                             int[] quats, LinearLayout.LayoutParams pView, LinearLayout.LayoutParams pText)
+  private View createOldPane(MainActivity act, long time, int elapsed, Static4D rot, int[] quats,
+                             LinearLayout.LayoutParams pView, LinearLayout.LayoutParams pText)
     {
     View view = act.getLayoutInflater().inflate(R.layout.dialog_solve_old_pane, null);
     TextView title = view.findViewById(R.id.solves_pane_title);
@@ -144,25 +144,25 @@ public class MainSolvesPopup
     dt.setLayoutParams(pText);
     tm.setLayoutParams(pText);
 
-    Button but1 = view.findViewById(R.id.solves_pane_delete);
-    but1.setTextSize(TypedValue.COMPLEX_UNIT_PX, mFontSize);
+    Button butDel = view.findViewById(R.id.solves_pane_delete);
+    butDel.setTextSize(TypedValue.COMPLEX_UNIT_PX, mFontSize);
 
-    but1.setOnClickListener( new View.OnClickListener()
+    butDel.setOnClickListener( new View.OnClickListener()
         {
         @Override
         public void onClick(View v)
           {
-          mLayout.removeViewAt(index);
+          mLayout.removeView(view);
           int level = mLevel==LEVELS_SHOWN ? mLevel : mLevel+1;
           RubikRememberedSolves solves = RubikRememberedSolves.getInstance();
           solves.deleteSolve(act, mObject.getLowerName(), level, time);
           }
         });
 
-    Button but2 = view.findViewById(R.id.solves_pane_resume);
-    but2.setTextSize(TypedValue.COMPLEX_UNIT_PX, mFontSize);
+    Button butRes = view.findViewById(R.id.solves_pane_resume);
+    butRes.setTextSize(TypedValue.COMPLEX_UNIT_PX, mFontSize);
 
-    but2.setOnClickListener( new View.OnClickListener()
+    butRes.setOnClickListener( new View.OnClickListener()
         {
         @Override
         public void onClick(View v)
diff --git a/src/main/java/org/distorted/play/PlayActivity.java b/src/main/java/org/distorted/play/PlayActivity.java
index 612f1792..37ee3825 100644
--- a/src/main/java/org/distorted/play/PlayActivity.java
+++ b/src/main/java/org/distorted/play/PlayActivity.java
@@ -193,6 +193,7 @@ public class PlayActivity extends BaseActivity implements DialogScores.ScoresInv
           changeIfDifferent(mObjectName, mObjectLocal, mObjectOrdinal, control, mQuats);
           }
 
+        control.setRotateOnCreation(false);
         control.rotateNow(mRotQuat);
         ScreenList curr = ScreenList.getCurrentScreen();
 
