Getting ids and images from Server

Getting ids and images from Server. This new functionality works
perfectly even when the device is rotated. Gets first the ids of the
images of the last day and then ask for the first image by its ID.
Change the image on next button.