further integrated schedule creation with main activity. Still need to
unit test.