Add spinner before load library