Display correct error message when no task added

Bug: 972407
Change-Id: Id8c56f18a7d592dc0c7ca8e48605e3302239542e