    Dim $Downdoad$ As UIDownloadDialog
	$Downdoad$.Initialize(Activity,Me,"$Downdoad$")
	$Downdoad$.Color = xui.Color_RGB(96, 212, 19)
	$Downdoad$.Title = "Download database"
	$Downdoad$.ButtonText = "Download"
	$Downdoad$.Description = "This option downloads the database from our server this may take a while"
	$Downdoad$.StartMessage ="Downloading...."
	$Downdoad$.FinishedMessage = "Downloaded data"
	$Downdoad$.setlogo2(Chr(0xF01A),xui.Color_RGB(113, 191, 69),xui.CreateFontAwesome(16))
	$Downdoad$.AnimateImage = True
	$Downdoad$.CornerRadius = 10dip
	$Downdoad$.ColorButton = xui.Color_RGB(45, 165, 226)
	$Downdoad$.Show
	$Downdoad$.setButtonImage(File.DirAssets,"Download.png")
    $end$