| 
				
			 | 
			
			
				@@ -144,21 +144,18 @@ function passwords_select_user { 
			 | 
		
	
		
			
			| 
				144
			 | 
			
				144
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				145
			 | 
			
				145
			 | 
			
			
				 function passwords_show_apps { 
			 | 
		
	
		
			
			| 
				146
			 | 
			
				146
			 | 
			
			
				     SELECTED_APP= 
			 | 
		
	
		
			
			| 
				147
			 | 
			
				
			 | 
			
			
				-    select_all_apps=$1 
			 | 
		
	
		
			
			| 
				148
			 | 
			
				
			 | 
			
			
				-    applist="" 
			 | 
		
	
		
			
			| 
				149
			 | 
			
				
			 | 
			
			
				-    n=1 
			 | 
		
	
		
			
			| 
				150
			 | 
			
				
			 | 
			
			
				-    app_index=0 
			 | 
		
	
		
			
			| 
				
			 | 
			
				147
			 | 
			
			
				+    i=0 
			 | 
		
	
		
			
			| 
				
			 | 
			
				148
			 | 
			
			
				+    W=() 
			 | 
		
	
		
			
			| 
				151
			 | 
			
				149
			 | 
			
			
				     for a in "${APPS_AVAILABLE[@]}" 
			 | 
		
	
		
			
			| 
				152
			 | 
			
				150
			 | 
			
			
				     do 
			 | 
		
	
		
			
			| 
				153
			 | 
			
				
			 | 
			
			
				-        applist="$applist $n $a off" 
			 | 
		
	
		
			
			| 
				154
			 | 
			
				
			 | 
			
			
				-        n=$[n+1] 
			 | 
		
	
		
			
			| 
				155
			 | 
			
				
			 | 
			
			
				-        app_index=$[app_index+1] 
			 | 
		
	
		
			
			| 
				
			 | 
			
				151
			 | 
			
			
				+        i=$((i+1)) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				152
			 | 
			
			
				+        W+=($i "$a") 
			 | 
		
	
		
			
			| 
				156
			 | 
			
				153
			 | 
			
			
				     done 
			 | 
		
	
		
			
			| 
				157
			 | 
			
				154
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				158
			 | 
			
				155
			 | 
			
			
				     selected_app_index=$(dialog --backtitle $"Freedombone Control Panel" --title $"Select App" --menu $"Select one of the following:" 24 40 17 "${W[@]}" 3>&2 2>&1 1>&3) 
			 | 
		
	
		
			
			| 
				159
			 | 
			
				156
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				160
			 | 
			
				157
			 | 
			
			
				     if [ $? -eq 0 ]; then 
			 | 
		
	
		
			
			| 
				161
			 | 
			
				
			 | 
			
			
				-        SELECTED_APP="${name[$((selected_app_index-1))]}" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				158
			 | 
			
			
				+        SELECTED_APP="${APPS_INSTALLED_NAMES[$((selected_app_index-1))]}" 
			 | 
		
	
		
			
			| 
				162
			 | 
			
				159
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				163
			 | 
			
				160
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				164
			 | 
			
				161
			 | 
			
			
				  
			 |