Changed data model: tasks are now directly linked to an invoice. Changed invoice edit screen accordingly.