Fix line wrapping long habit names
Fix crash