Now properly traverses through activities.
Finished basic UI functions except for search