Added progressdialogs and toasts