Finish creating the activity