replaced buttons order, add inheritance from ActionBarActivity