Implement add new task/modify old task