(Fix) - Fix sidebar wrong state loading
Description
- There was a race condition on the storage of the state of the sidebar causing that it didn't store the last collapse status, now when the sidebar is expanded or collapsed and the page is reloaded, the state is maintained