fixed adding new objects in the table view, as well as fixed the textfield delegate methods