Partial implementation of DocumentSharingViewController with rotationHandling and use of Checkmark UI instead of UISwitch;