Fixed so that now it works on iPhone also not only simulator