Refactored EditStoryActivity and GlobalManager