It couldn't happen because, we wouldn't be able to open this activity if task didn't exist.
After all I'll correct it, because it's just one line of code.