Fix active task indicator

Solves #2.