Handles null task and task too long errors.
Background colour changed.