fixed adding new tasks with twitter
enhanced readability
small refactoring