Updating the get id of the last row method.
Isn't working yet. Set a TODO task where I need to start tomorrow.
Fixed the getLastRowId method.
Corrected Volume data type from int to long. int couldn't hold a big
enough number for some volumes, was causing errors.

D-dates are being counted. Next step is to record them in the database.