Added cursor to upload the tasks to the server.
Removed 'update' from that function.
updated information on javadoc.
Added function to return the count of the registers.
Fixes set message to the dialog.
Changed the way that the registers are sended to server. Now, an
iterator is responsible for getting the registers from local database.