Made some updates

I added a string to be recorded so when we initiate a delete, the database updates the correct row. Also corrected some issues with displaying on the right panel.