Added methods to initialize the add entry table view for editing