diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index 10357967..866a640f 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -994,7 +994,7 @@ function restore_data_from_storage { # Test for restoring all apps for choice in $choices do - app_index=$[choice-1] + app_index=$[choice-2] app_name=${app_list[app_index]} if [[ $app_name == "$AllStr" ]]; then $restore_command @@ -1023,7 +1023,7 @@ function restore_data_from_storage { ctr=0 for choice in $choices do - app_index=$[choice-1] + app_index=$[choice-2] app_name=${app_list[app_index]} $restore_command "${app_name}" if [ ! "$?" = "0" ]; then