Changed the main activity to an ActionBarActivity. Added support to QRcode reading