Use a more compact case syntax when assigning the default_task

I believe the intention of `#default_task` is clearer this way.