@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    listView = (ListView) findViewById(R.id.list);
    prefs = getSharedPreferences("com.uclastudentmedia.test_bank", 0);

    Loader loader = new Loader();
    loader.execute();
  }
 @Override
 public boolean onOptionsItemSelected(MenuItem item) {
   // Handle action bar item clicks here. The action bar will
   // automatically handle clicks on the Home/Up button, so long
   // as you specify a parent activity in AndroidManifest.xml.
   int id = item.getItemId();
   if (id == R.id.action_refresh) {
     findViewById(R.id.progressBar1).setVisibility(View.VISIBLE);
     Loader loader = new Loader();
     loader.execute();
     return true;
   }
   return super.onOptionsItemSelected(item);
 }