Added preferences, action bar.