Split up the EndActivity into EndView and EndController and EndActivity.