Working on previous activities view

Got it working with newly submitted activities.