Replacing getTask with getAndShowTask