[feature] save sidebar content in localStorage