fixes in AppIndicator and setClipboard