1. **Proper loading state**: Now only shows the spinner when `loading` is true (actually loading data)
2. **No attempt selected**: Shows "No attempt selected" when there's no selected attempt
3. **No execution started**: Shows "Task execution not started yet" when an attempt is selected but hasn't been executed
4. **Updated fallback**: Changed the default case to indicate "Unknown execution state" for unexpected conditions
This provides clearer feedback to users about what's actually happening instead of showing a misleading "Loading..." message when no attempt has been made.