public void OnPointerClick(PointerEventData eventData)
    {
        switch (desktopElement) //Changes the colour of the theme element.
        {
        case DesktopElement.Background:
            colourPicker.changingComponent = ColourPicker.ComponentChanging.Background;
            colourPickerHeader.text        = "Background";
            colourPicker.image             = this.GetComponent <Image>();
            colourPicker.Start();
            break;

        case DesktopElement.ActiveTitleBar:
            colourPicker.changingComponent = ColourPicker.ComponentChanging.ActiveTitleBar;
            colourPickerHeader.text        = "Active Title Bar";
            colourPicker.image             = this.GetComponent <Image>();
            colourPicker.Start();
            break;

        case DesktopElement.InactiveTitleBar:
            colourPicker.changingComponent = ColourPicker.ComponentChanging.InactiveTitleBar;
            colourPickerHeader.text        = "Inactive Title Bar";
            colourPicker.image             = this.GetComponent <Image>();
            colourPicker.Start();
            break;

        case DesktopElement.Taskbar:
            colourPicker.changingComponent = ColourPicker.ComponentChanging.Taskbar;
            colourPickerHeader.text        = "Taskbar";
            colourPicker.image             = this.GetComponent <Image>();
            colourPicker.Start();
            break;

        case DesktopElement.ToolTip:
            colourPicker.changingComponent = ColourPicker.ComponentChanging.Tooltip;
            colourPickerHeader.text        = "Tooltips";
            colourPicker.image             = this.GetComponent <Image>();
            colourPicker.Start();
            break;

        case DesktopElement.SelectedIcon:
            colourPicker.changingComponent = ColourPicker.ComponentChanging.Selected;
            colourPickerHeader.text        = "Selected Icon";
            colourPicker.image             = this.GetComponent <Image>();
            colourPicker.Start();
            break;
        }
    }