Improved clipboard history feature