Work on the application

- Change the sort of the tasks, dueTo before priority
- Correction of a bug at the add of a task, the server doesn't return the
  id to the app