Hide the Clear History action if history is empty
Currently, the Clear History action remains visible even if the clipboard history is empty. This patch changes this so the behavior of the Clear History action will be the same as in the Notifications widget.