using action bar to navigatte bewteen two tabs