Fixed navigation now the user gets put back to the root when the entire database is deleted. I created a database name constant for the model so the name of the database name is consistent throughout the model. I also added an error check to the deletion of the database code so that if the deletion of the database fails then the program aborts.