Moving loading url to onCreate