@@ -0,0 +1,2177 @@
+package com.upmoon.alexanderbean.barcrawlr.fragments.PlanCreator;%0A%0Aimport android.os.AsyncTask;%0Aimport android.os.Bundle;%0Aimport android.support.v4.app.Fragment;%0Aimport android.support.v7.preference.PreferenceFragmentCompat;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.widget.Button;%0Aimport android.widget.Toast;%0A%0Aimport com.upmoon.alexanderbean.barcrawlr.R;%0Aimport com.upmoon.alexanderbean.barcrawlr.singletons.CurrentPlan;%0Aimport com.upmoon.alexanderbean.barcrawlr.utilities.PlanSaver;%0Aimport com.upmoon.alexanderbean.barcrawlr.R;%0A%0Aimport org.json.JSONObject;%0A%0A/**%0A * A simple %7B@link Fragment%7D subclass.%0A */%0Apublic class OptionsFragment extends PreferenceFragmentCompat %7B%0A%0A%0A    public OptionsFragment() %7B%0A        // Required empty public constructor%0A    %7D%0A%0A%0A    @Override%0A    public View onCreateView(LayoutInflater inflater, ViewGroup container,%0A                             Bundle savedInstanceState) %7B%0A        // Inflate the layout for this fragment%0A        View v = inflater.inflate(R.layout.fragment_settings, container, false);%0A%0A        final Button savePlan = (Button) v.findViewById(R.id.save_plan_button);%0A        savePlan.setOnClickListener(new View.OnClickListener() %7B%0A            public void onClick(View v) %7B%0A                PlanSaver planSaver = new PlanSaver(getActivity());%0A%0A                planSaver.savePlan(CurrentPlan.getInstance().getPlan());%0A%0A                Toast.makeText(getActivity(), %22Saved!%22, Toast.LENGTH_SHORT).show();%0A%0A            %7D%0A        %7D);%0A%0A        return v;%0A    %7D%0A%0A    @Override%0A    public void onCreatePreferences(Bundle bundle, String s) %7B%0A        // Load the Preferences from the Layout resource%0A        addPreferencesFromResource(R.xml.fragment_plan_creator_options);%0A    %7D%0A%0A    private class AddPlan extends AsyncTask%3CJSONObject,String,String%3E %7B%0A%0A        public AddPlan()%7B%0A%0A        %7D%0A%0A        @Override%0A        protected String doInBackground(JSONObject... meme)%7B%0A%0A            return %22%22;%0A        %7D%0A%0A        @Override%0A        protected void onPostExecute(String str)%7B%0A            Toast.makeText(getActivity(), %22Disconnected%22,Toast.LENGTH_SHORT).show();%0A        %7D%0A    %7D%0A%7D

put back what joe did