added activity to the navigation bar