public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
   Shared.setOptionAtribute(
       getString(R.string.ReverseMonthkey),
       getString(R.string.boxColour),
       (String) parent.getItemAtPosition(pos),
       getApplicationContext());
   Options.getCurrentInstance().initAll(true);
 }
 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
   Shared.setOptionAtribute(
       getString(R.string.lighthouseflashkey),
       getString(R.string.flashcount),
       (String) parent.getItemAtPosition(pos),
       getApplicationContext());
   Options.getCurrentInstance().initAll(true);
 }
 @Override
 public void Invoke(View arg0, Object... arg1) {
   SeekBar bar = (SeekBar) arg0;
   Shared.setOptionAtribute(
       getString(R.string.lighthouseflashkey),
       getString(R.string.flashSize),
       String.valueOf(bar.getProgress()),
       getApplicationContext());
 }
 @Override
 public void Invoke(View arg0, Object... arg1) {
   Shared.setOptionAtribute(
       getString(R.string.FontSize),
       getString(R.string.current),
       getString(R.string.small),
       getApplicationContext());
   Options.getCurrentInstance().initAll(true);
 }
 @Override
 public void Invoke(View arg0, Object... arg1) {
   SeekBar bar = (SeekBar) arg0;
   Shared.setOptionAtribute(
       getString(R.string.DistractionTargetSpeed),
       getString(R.string.Speed),
       String.valueOf(bar.getProgress()),
       getApplicationContext());
 }
 public void onTextChanged(CharSequence s, int i, int i1, int i2) {
   try {
     Shared.setOptionAtribute(
         getString(R.string.lighthouseflashkey),
         getString(R.string.sequence),
         s.toString(),
         getApplicationContext());
   } catch (NullPointerException e) {
     System.out.println(e);
   }
 }