added 'doneWasPressed' method to NewEntryViewController