error while initializing fixed
toast and progress dialog added