Update clipboard selection on text selection changes
Add missing header include