Detects clickable elements automatically and exempts them from collapsing cards, also interacting with code area does no longer collapse cards. This commit also fixes subscribing to clicks on document every time card list is loaded, but never unsubscribing. This impacts performance and causes memory leaks. Now, registered event listener is removed every time card list component is destroyed.