Added Loader in mainactivity