Done action fix.

The app doesn't crash on Done action when there are no items in self.data