Added loading mask during extration of the restrictions
small change