Added toast message for failure case.