Adding and editing tasks revised (need refactoring)