Deep learning models in production

If I am training model for flower classification .
While testing on my android phone ,and if I test it by clicking image of cat or dog or something else which is not related to the flower ,but the models shows some probability of any flower class in that image also.
so is there concept I am missing , or what can I do for it ??