AddCategory populates with timelines, ok finishes activity, and a new category is created and added to the timeline. On ok, the timelines save to the database.