Setting spinner selection based on previous spinner selection
===

I'm sure this is simple and I'm just overlooking or doing something stupid, but I'm saving a number of inputs to a database, one being the option selected in a spinner, and storing it as text using: 

    idCategory = (add_category_spinner.getSelectedItemPosition() + " Position");


Now, in another activity, I'm trying to having another spinner set to the exact same selection. I'm doing this using:

    private String CategoryPosition
    
    onCreate(...etc)

    update_category_spinner = (Spinner) findViewById(R.id.update_category_spinner);
	    ArrayAdapter<CharSequence> category_adapter = ArrayAdapter.createFromResource(
	    		this, R.array.category_array, android.R.layout.simple_spinner_item);
	    
	    category_adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
	    update_category_spinner.setAdapter(category_adapter);

    bundleduCategPos = takeBundledData.getString("clickeduCategPos");

    CategoryPosition = String.valueOf(bundleduCategPos.charAt(0));
    update_category_spinner.setSelection(Integer.parseInt(CategoryPosition)); 

Now when I'm trying to open that particular activity, I get the following logcat error:

    java.lang.NumberFormatException: Invalid int: "N"

Depending on the spinner selection saved to my DB, that 'invalid int' letter can change. Essentially, the whole db is being saved as sets of strings, hence the additional text
 
    ".getSelectedItemPosition() + " Position");"

I'm pulling it in, converting to char, finding the first zero-index character which should be the positionId of the spinner selection, and converting that back into an int and finally using that int to set the selection on the new spinner which is reading from the same array.

Would appreciate some dumbed down assistance please.