add action sheet for image picking
only offer camera as choice on actual device
asynchronous test of url connection
extracted action sheet configuration