updated invoice controller's addEventToSelected method, fixed how the
invoice amounts are updated
events are now ordered by their start datetime
when the hourly rate input is changed,
InvoiceController.updateInvoiceAmounts is called