Remove duplicity of method insertTask in TaskDaoJdbc