solved a bug that crashed the app when the last row of a tableView was deleted, finished documentation