Only add new task if it contains text

When Enter is pressed in the description field, but no text is entered,
then this change prevents an empty task being created.