Fixed new entry crash

Crash on iOS 7 simulator when trying to add new entry.