Working Layout Action before refactoring.
Copy to Clipboard action working.
Small refactoring in LayoutAction.