Ignore invalid foods when adding

If back or save action occurs on the add food screen and the food has no
name or an invalid amount of carbs, don't post a save notification.