added a toast and showing during loading