Add note selection to the sidebar