Added rotation
Add event when pasting