Add UP function to action bar