Refactored methods in EditStoryActivity