implemented a progressdialog while importing
added function to replace the file extension of a given filename and extension
fixed an issue that no toasts were shown