add background progress dialog and remove duplicate code
use xbmcgui notification dialog
use background progress dialog